Skip to content

Commit

Permalink
added cache
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <yujuncen@pingcap.com>
  • Loading branch information
YuJuncen authored and ti-chi-bot committed Feb 13, 2023
1 parent 1491101 commit 51d84eb
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 @@ -924,13 +924,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 51d84eb

Please sign in to comment.