@@ -7568,28 +7568,26 @@ class FileBackupAgentImpl {
7568
7568
// When set to true, gives an inconsistent snapshot, thus not recommended
7569
7569
// beginVersions: restore's begin version for each range
7570
7570
// randomUid: the UID for lock the database
7571
- ACTOR static Future<Version> restore (
7572
- FileBackupAgent* backupAgent,
7573
- Database cx,
7574
- Optional<Database> cxOrig,
7575
- Key tagName,
7576
- Key url,
7577
- Optional<std::string> proxy,
7578
- Standalone<VectorRef<KeyRangeRef>> ranges,
7579
- Standalone<VectorRef<Version>> beginVersions,
7580
- WaitForComplete waitForComplete,
7581
- Version targetVersion,
7582
- Verbose verbose,
7583
- Key addPrefix,
7584
- Key removePrefix,
7585
- LockDB lockDB,
7586
- UnlockDB unlockDB,
7587
- OnlyApplyMutationLogs onlyApplyMutationLogs,
7588
- InconsistentSnapshotOnly inconsistentSnapshotOnly,
7589
- Optional<std::string> encryptionKeyFileName,
7590
- UID randomUid,
7591
- Optional<std::string> blobManifestUrl,
7592
- TransformPartitionedLog transformPartitionedLog = TransformPartitionedLog::False) {
7571
+ ACTOR static Future<Version> restore (FileBackupAgent* backupAgent,
7572
+ Database cx,
7573
+ Optional<Database> cxOrig,
7574
+ Key tagName,
7575
+ Key url,
7576
+ Optional<std::string> proxy,
7577
+ Standalone<VectorRef<KeyRangeRef>> ranges,
7578
+ Standalone<VectorRef<Version>> beginVersions,
7579
+ WaitForComplete waitForComplete,
7580
+ Version targetVersion,
7581
+ Verbose verbose,
7582
+ Key addPrefix,
7583
+ Key removePrefix,
7584
+ LockDB lockDB,
7585
+ UnlockDB unlockDB,
7586
+ OnlyApplyMutationLogs onlyApplyMutationLogs,
7587
+ InconsistentSnapshotOnly inconsistentSnapshotOnly,
7588
+ Optional<std::string> encryptionKeyFileName,
7589
+ UID randomUid,
7590
+ Optional<std::string> blobManifestUrl) {
7593
7591
// The restore command line tool won't allow ranges to be empty, but correctness workloads somehow might.
7594
7592
if (ranges.empty ()) {
7595
7593
throw restore_error ();
@@ -7654,7 +7652,7 @@ class FileBackupAgentImpl {
7654
7652
beginVersion,
7655
7653
randomUid,
7656
7654
blobManifestUrl,
7657
- transformPartitionedLog ));
7655
+ TransformPartitionedLog (desc. partitioned ) ));
7658
7656
wait (tr->commit ());
7659
7657
break ;
7660
7658
} catch (Error& e) {
@@ -7943,8 +7941,7 @@ Future<Version> FileBackupAgent::restore(Database cx,
7943
7941
OnlyApplyMutationLogs onlyApplyMutationLogs,
7944
7942
InconsistentSnapshotOnly inconsistentSnapshotOnly,
7945
7943
Optional<std::string> const & encryptionKeyFileName,
7946
- Optional<std::string> blobManifestUrl,
7947
- TransformPartitionedLog transformPartitionedLog) {
7944
+ Optional<std::string> blobManifestUrl) {
7948
7945
return FileBackupAgentImpl::restore (this ,
7949
7946
cx,
7950
7947
cxOrig,
@@ -7964,8 +7961,7 @@ Future<Version> FileBackupAgent::restore(Database cx,
7964
7961
inconsistentSnapshotOnly,
7965
7962
encryptionKeyFileName,
7966
7963
deterministicRandom ()->randomUniqueID (),
7967
- blobManifestUrl,
7968
- transformPartitionedLog);
7964
+ blobManifestUrl);
7969
7965
}
7970
7966
7971
7967
Future<Version> FileBackupAgent::restore (Database cx,
@@ -7985,8 +7981,7 @@ Future<Version> FileBackupAgent::restore(Database cx,
7985
7981
InconsistentSnapshotOnly inconsistentSnapshotOnly,
7986
7982
Version beginVersion,
7987
7983
Optional<std::string> const & encryptionKeyFileName,
7988
- Optional<std::string> blobManifestUrl,
7989
- TransformPartitionedLog transformPartitionedLog) {
7984
+ Optional<std::string> blobManifestUrl) {
7990
7985
Standalone<VectorRef<Version>> beginVersions;
7991
7986
for (auto i = 0 ; i < ranges.size (); ++i) {
7992
7987
beginVersions.push_back (beginVersions.arena (), beginVersion);
@@ -8008,8 +8003,7 @@ Future<Version> FileBackupAgent::restore(Database cx,
8008
8003
onlyApplyMutationLogs,
8009
8004
inconsistentSnapshotOnly,
8010
8005
encryptionKeyFileName,
8011
- blobManifestUrl,
8012
- transformPartitionedLog);
8006
+ blobManifestUrl);
8013
8007
}
8014
8008
8015
8009
Future<Version> FileBackupAgent::restore (Database cx,
0 commit comments