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

Tests and fixes for replaying.

This commit is contained in:
Teemu Ollakka
2018-06-14 15:00:40 +03:00
parent ca6286d8b2
commit 0b6e49474f
11 changed files with 123 additions and 21 deletions

View File

@ -548,11 +548,13 @@ int wsrep::wsrep_provider_v26::release(wsrep::ws_handle& ws_handle)
return (wsrep_->release(wsrep_, mwsh.native()) != WSREP_OK);
}
int wsrep::wsrep_provider_v26::replay(wsrep::ws_handle& ws_handle,
void* applier_ctx)
enum wsrep::provider::status
wsrep::wsrep_provider_v26::replay(wsrep::ws_handle& ws_handle,
void* applier_ctx)
{
mutable_ws_handle mwsh(ws_handle);
return (wsrep_->replay_trx(wsrep_, mwsh.native(), applier_ctx) != WSREP_OK);
return map_return_value(
wsrep_->replay_trx(wsrep_, mwsh.native(), applier_ctx));
}
int wsrep::wsrep_provider_v26::sst_sent(const wsrep::gtid& gtid, int err)