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

Added SST methods, able to start several nodes in simulator

This commit is contained in:
Teemu Ollakka
2018-04-19 15:03:38 +03:00
parent 3c6eff581c
commit 3510d0739c
10 changed files with 165 additions and 20 deletions

View File

@ -67,3 +67,21 @@ wsrep_status_t trrep::wsrep_provider_v26::run_applier(void *applier_ctx)
{
return wsrep_->recv(wsrep_, applier_ctx);
}
int trrep::wsrep_provider_v26::sst_sent(const wsrep_gtid_t& gtid, int err)
{
if (wsrep_->sst_sent(wsrep_, &gtid, err) != WSREP_OK)
{
return 1;
}
return 0;
}
int trrep::wsrep_provider_v26::sst_received(const wsrep_gtid_t& gtid, int err)
{
if (wsrep_->sst_received(wsrep_, &gtid, 0, err) != WSREP_OK)
{
return 1;
}
return 0;
}