mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Added sync points before and after commit order leave
This commit is contained in:
@ -455,7 +455,9 @@ int wsrep::transaction::ordered_commit()
|
|||||||
debug_log_state("ordered_commit_enter");
|
debug_log_state("ordered_commit_enter");
|
||||||
assert(state() == s_committing);
|
assert(state() == s_committing);
|
||||||
assert(ordered());
|
assert(ordered());
|
||||||
|
client_service_.debug_sync("wsrep_before_commit_order_leave");
|
||||||
int ret(provider().commit_order_leave(ws_handle_, ws_meta_));
|
int ret(provider().commit_order_leave(ws_handle_, ws_meta_));
|
||||||
|
client_service_.debug_sync("wsrep_after_commit_order_leave");
|
||||||
// Should always succeed:
|
// Should always succeed:
|
||||||
// 1) If before commit before succeeds, the transaction handle
|
// 1) If before commit before succeeds, the transaction handle
|
||||||
// in the provider is guaranteed to exist and the commit
|
// in the provider is guaranteed to exist and the commit
|
||||||
|
Reference in New Issue
Block a user