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

Ignore TOI applying errors for now.

This commit is contained in:
Teemu Ollakka
2018-07-03 21:29:35 +03:00
parent b9532e6497
commit 622b6583a2

View File

@ -178,11 +178,17 @@ namespace
if (wsrep::starts_transaction(ws_meta.flags()) && if (wsrep::starts_transaction(ws_meta.flags()) &&
wsrep::commits_transaction(ws_meta.flags())) wsrep::commits_transaction(ws_meta.flags()))
{ {
// Regular toi //
// Regular TOI.
//
// Note that we ignore error returned by apply_toi
// call here. This must be revised after the error
// voting is added.
//
provider.commit_order_enter(ws_handle, ws_meta); provider.commit_order_enter(ws_handle, ws_meta);
int ret(high_priority_service.apply_toi(ws_meta, data)); (void)high_priority_service.apply_toi(ws_meta, data);
provider.commit_order_leave(ws_handle, ws_meta); provider.commit_order_leave(ws_handle, ws_meta);
return ret; return 0;
} }
else if (wsrep::starts_transaction(ws_meta.flags())) else if (wsrep::starts_transaction(ws_meta.flags()))
{ {