diff --git a/br/pkg/restore/import.go b/br/pkg/restore/import.go index 5004639c1a00d..425f170334cd3 100644 --- a/br/pkg/restore/import.go +++ b/br/pkg/restore/import.go @@ -924,6 +924,7 @@ func (importer *FileImporter) downloadAndApplyKVFile( StorageBackend: importer.backend, RewriteRules: rewriteRules, Context: reqCtx, + StorageCacheId: importer.cacheKey, } } else { req = &import_sstpb.ApplyRequest{ @@ -931,6 +932,7 @@ func (importer *FileImporter) downloadAndApplyKVFile( StorageBackend: importer.backend, RewriteRule: *rewriteRules[0], Context: reqCtx, + StorageCacheId: importer.cacheKey, } }