1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-14 04:40:59 +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:
Teemu Ollakka
2023-03-02 08:24:44 +02:00
parent 7843345a19
commit 19eaed587c
4 changed files with 45 additions and 4 deletions

View File

@ -44,6 +44,9 @@ namespace wsrep_test
const wsrep::transaction& tc,
wsrep::seqno bf_seqno);
// BF abort in total order
void bf_abort_in_total_order(wsrep::client_state&);
// Terminate streaming applier by applying rollback fragment.
void terminate_streaming_applier(
wsrep::mock_server_state& sc,