diff --git a/br/pkg/restore/import.go b/br/pkg/restore/import.go index dd6ae97cf79c1..47c25672719c5 100644 --- a/br/pkg/restore/import.go +++ b/br/pkg/restore/import.go @@ -960,6 +960,7 @@ func (importer *FileImporter) downloadAndApplyKVFile( StorageBackend: importer.backend, RewriteRules: rewriteRules, Context: reqCtx, + StorageCacheId: importer.cacheKey, } } else { req = &import_sstpb.ApplyRequest{ @@ -967,6 +968,7 @@ func (importer *FileImporter) downloadAndApplyKVFile( StorageBackend: importer.backend, RewriteRule: *rewriteRules[0], Context: reqCtx, + StorageCacheId: importer.cacheKey, } }