mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-08-05 04:01:12 +03:00
Fixed BF abort in sync rollback mode.
* Pass condition variable for client_state * Notify all cond waiters when changing the transcation status to aborted * Wait for aborting transaction state aborted in before_command
This commit is contained in:
@@ -12,10 +12,11 @@ db::client::client(db::server& server,
|
||||
enum wsrep::client_state::mode mode,
|
||||
const db::params& params)
|
||||
: mutex_()
|
||||
, cond_()
|
||||
, params_(params)
|
||||
, server_(server)
|
||||
, server_state_(server.server_state())
|
||||
, client_state_(mutex_, this, server_state_, client_service_, client_id, mode)
|
||||
, client_state_(mutex_, cond_, this, server_state_, client_service_, client_id, mode)
|
||||
, client_service_(client_state_)
|
||||
, se_trx_(server.storage_engine())
|
||||
, stats_()
|
||||
|
Reference in New Issue
Block a user