Skip to content

Commit

Permalink
log-backup: added cache for sst_importer client (pingcap#41305)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuJuncen authored and blacktear23 committed Feb 15, 2023
1 parent 2dfe011 commit f823469
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 f823469

Please sign in to comment.