mirror of
https://github.com/codership/wsrep-lib.git
synced 2026-01-04 04:13:04 +03:00
Fragment removal for SR transaction is done in transaction context to make it atomic. However, this means that if the BF abort arrives during fragment removal, the transaction may be rolled back inside client_service::remove_fragments(), and client_state::after_prepare() is left in aborted state. This case was not handled in the post condition checks of after_prepare(). Fixed assertion in after_prepare() and implemented unit test.