Remove redundant restoreRequestDone break in backup.actor

This commit is contained in:
Meng Xu 2020-03-25 15:19:46 -07:00
parent 495afe2e0b
commit a93f13cfd7
1 changed files with 0 additions and 2 deletions

View File

@ -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));
}