mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-05 03:41:13 +03:00
Fix total order BF abort
Streaming rollback for total order BF abort used regular BF abort codepath, which was not correct because the streaming rollback must fully complete before total order operation executes. Fixed this by adjusting bf_aborted_in_total_order_ before streaming_rollback() gets called.
This commit is contained in:
@ -34,6 +34,11 @@ void wsrep_test::bf_abort_ordered(wsrep::client_state& cc)
|
||||
assert(cc.transaction().ordered());
|
||||
cc.bf_abort(wsrep::seqno(0));
|
||||
}
|
||||
|
||||
void wsrep_test::bf_abort_in_total_order(wsrep::client_state& cc)
|
||||
{
|
||||
cc.total_order_bf_abort(wsrep::seqno(0));
|
||||
}
|
||||
// BF abort method to abort transactions via provider
|
||||
void wsrep_test::bf_abort_provider(wsrep::mock_server_state& sc,
|
||||
const wsrep::transaction& tc,
|
||||
|
Reference in New Issue
Block a user