1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +03:00

Use provider for replaying in mock client_context instead of

calling server context apply directly.
This commit is contained in:
Teemu Ollakka
2018-06-14 12:41:34 +03:00
parent 6246d9d3b8
commit ca6286d8b2
10 changed files with 80 additions and 77 deletions

View File

@ -6,7 +6,7 @@
namespace wsrep
{
class client_context;
class fake_server_context;
class mock_server_context;
}
#include "wsrep/transaction_context.hpp"
@ -25,7 +25,7 @@ namespace wsrep_test
void bf_abort_ordered(wsrep::client_context& cc);
// BF abort method to abort transactions via provider
void bf_abort_provider(wsrep::fake_server_context& sc,
void bf_abort_provider(wsrep::mock_server_context& sc,
const wsrep::transaction_context& tc,
wsrep::seqno bf_seqno);