Skip to content

Commit

Permalink
added cache
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <[email protected]>
  • Loading branch information
YuJuncen committed Feb 11, 2023
1 parent ca1d9fb commit 3b77fdd
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 3b77fdd

Please sign in to comment.