Fixed unused variable warning in atomicParallelRestore
This commit is contained in:
parent
bc19f70455
commit
494d1d3518
|
@ -4614,11 +4614,10 @@ public:
|
|||
// Similar to atomicRestore, only used in simulation test.
|
||||
// locks the database before discontinuing the backup and that same lock is then used while doing the restore.
|
||||
// the tagname of the backup must be the same as the restore.
|
||||
ACTOR static Future<Void> atomicParallelRestore(FileBackupAgent* backupAgent, Database cx, Key tagName,
|
||||
static Future<Void> atomicParallelRestore(FileBackupAgent* backupAgent, Database cx, Key tagName,
|
||||
Standalone<VectorRef<KeyRangeRef>> ranges, Key addPrefix,
|
||||
Key removePrefix) {
|
||||
Version ver = wait(atomicRestore(backupAgent, cx, tagName, ranges, addPrefix, removePrefix, true));
|
||||
return Void();
|
||||
return success(atomicRestore(backupAgent, cx, tagName, ranges, addPrefix, removePrefix, true));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue