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

Implemented SR transaction rollback.

This commit is contained in:
Teemu Ollakka
2018-07-10 14:01:41 +03:00
parent e916453e6d
commit 80ca03daaf
17 changed files with 362 additions and 91 deletions

View File

@ -131,11 +131,11 @@ namespace wsrep
enum wsrep::provider::status
append_data(wsrep::ws_handle&, const wsrep::const_buffer&)
{ return wsrep::provider::success; }
int rollback(const wsrep::transaction_id)
enum wsrep::provider::status rollback(const wsrep::transaction_id)
{
++fragments_;
++rollback_fragments_;
return 0;
return wsrep::provider::success;
}
enum wsrep::provider::status
commit_order_enter(const wsrep::ws_handle& ws_handle,