mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-21 12:22:06 +03:00
Pass victim context for provider on BF abort
This change is needed for custom provider implementations to have a way to access the victim in the application context. Helper interface operation_context to pass caller context for service/provider callbacks in more type safe way.
This commit is contained in:
@ -40,7 +40,8 @@ void wsrep_test::bf_abort_provider(wsrep::mock_server_state& sc,
|
||||
wsrep::seqno bf_seqno)
|
||||
{
|
||||
wsrep::seqno victim_seqno;
|
||||
sc.provider().bf_abort(bf_seqno, tc.id(), victim_seqno);
|
||||
wsrep::null_operation_context victim_ctx;
|
||||
sc.provider().bf_abort(bf_seqno, tc.id(), victim_ctx, victim_seqno);
|
||||
(void)victim_seqno;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user