1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Added a separate call to notify the client thread about completion

of background rollback. The separate call is necessary as all of
the resources may not have been released before the execution
reaches after_rollback() call and background rollbacker needs
to notify the client thread after all is complete.
This commit is contained in:
Teemu Ollakka
2018-07-05 17:42:38 +03:00
parent d80a69fe90
commit 5ef2c956a9
2 changed files with 12 additions and 1 deletions

View File

@ -470,7 +470,6 @@ int wsrep::transaction::after_rollback()
if (state() == s_aborting)
{
state(lock, s_aborted);
client_state_.cond_.notify_all();
}
// Releasing the transaction from provider is postponed into