Add buggify
This commit is contained in:
parent
3b95559419
commit
38d780e847
|
@ -743,6 +743,9 @@ ACTOR Future<Void> applyMutations(Database cx,
|
||||||
wait(coalesceKeyVersionCache(
|
wait(coalesceKeyVersionCache(
|
||||||
uid, newEndVersion, keyVersion, commit, committedVersion, addActor, &commitLock));
|
uid, newEndVersion, keyVersion, commit, committedVersion, addActor, &commitLock));
|
||||||
beginVersion = newEndVersion;
|
beginVersion = newEndVersion;
|
||||||
|
if (BUGGIFY) {
|
||||||
|
wait(delay(2.0));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} catch (Error& e) {
|
} catch (Error& e) {
|
||||||
TraceEvent(e.code() == error_code_restore_missing_data ? SevWarnAlways : SevError, "ApplyMutationsError")
|
TraceEvent(e.code() == error_code_restore_missing_data ? SevWarnAlways : SevError, "ApplyMutationsError")
|
||||||
|
|
Loading…
Reference in New Issue