Verify that cluster is fully recovered in quietDatabase check (#5807)
* Verify that cluster is fully recovered in quietDatabase check * Add trace event to waitForQuietDatabase
This commit is contained in:
parent
0cf829ef91
commit
c69364d5aa
|
@ -638,6 +638,11 @@ ACTOR Future<Void> waitForQuietDatabase(Database cx,
|
||||||
if (g_network->isSimulated())
|
if (g_network->isSimulated())
|
||||||
wait(delay(5.0));
|
wait(delay(5.0));
|
||||||
|
|
||||||
|
TraceEvent("QuietDatabaseWaitingOnFullRecovery").log();
|
||||||
|
while (dbInfo->get().recoveryState != RecoveryState::FULLY_RECOVERED) {
|
||||||
|
wait(dbInfo->onChange());
|
||||||
|
}
|
||||||
|
|
||||||
// The quiet database check (which runs at the end of every test) will always time out due to active data movement.
|
// The quiet database check (which runs at the end of every test) will always time out due to active data movement.
|
||||||
// To get around this, quiet Database will disable the perpetual wiggle in the setup phase.
|
// To get around this, quiet Database will disable the perpetual wiggle in the setup phase.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue