mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-21 12:22:06 +03:00
Deal with desyncs in on_sync() call.
This commit is contained in:
@ -619,7 +619,13 @@ void wsrep::server_state::on_sync()
|
||||
}
|
||||
else
|
||||
{
|
||||
state(lock, s_synced);
|
||||
// Calls to on_sync() in synced state are possible if
|
||||
// server desyncs itself from the group. Provider does not
|
||||
// inform about this through callbacks.
|
||||
if (state_ != s_synced)
|
||||
{
|
||||
state(lock, s_synced);
|
||||
}
|
||||
}
|
||||
init_synced_ = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user