mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
Changed background_rollback to return true/false depending on if
background rollback did happen. Background rollback should be skipped if the aborting happens due to KILL command issued by user. Some KILL signals, like KILL CONECTION, wake up the victim too early so that background rollback could happen in parallel with the victim waking up and continuing execution.
This commit is contained in:
@ -86,7 +86,7 @@ namespace wsrep
|
||||
/**
|
||||
* Perform a background rollback for a transaction.
|
||||
*/
|
||||
virtual void background_rollback(wsrep::client_state&) = 0;
|
||||
virtual bool background_rollback(wsrep::client_state&) = 0;
|
||||
|
||||
/**
|
||||
* Bootstrap a DBMS state for a new cluster.
|
||||
|
Reference in New Issue
Block a user