Skip to content

Commit

Permalink
log-backup: added cache for sst_importer client (#41305)
Browse files Browse the repository at this point in the history
close #41328
  • Loading branch information
YuJuncen authored Feb 13, 2023
1 parent 1d452a9 commit 558813a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions br/pkg/restore/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -960,13 +960,15 @@ func (importer *FileImporter) downloadAndApplyKVFile(
StorageBackend: importer.backend,
RewriteRules: rewriteRules,
Context: reqCtx,
StorageCacheId: importer.cacheKey,
}
} else {
req = &import_sstpb.ApplyRequest{
Meta: metas[0],
StorageBackend: importer.backend,
RewriteRule: *rewriteRules[0],
Context: reqCtx,
StorageCacheId: importer.cacheKey,
}
}

Expand Down

0 comments on commit 558813a

Please sign in to comment.