Remove redundant restoreRequestDone break in backup.actor
This commit is contained in:
parent
495afe2e0b
commit
a93f13cfd7
|
@ -3902,8 +3902,6 @@ ACTOR static Future<FileBackupAgent::ERestoreState> waitFastRestore(Database cx,
|
|||
} else {
|
||||
break;
|
||||
}
|
||||
// The clear transaction may fail in uncertain state, which may already clear the restoreRequestDoneKey
|
||||
if (restoreRequestDone) break;
|
||||
} catch (Error& e) {
|
||||
wait(tr.onError(e));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue