1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-24 10:42:31 +03:00

The changes:

* Now the rollback of InnoDB SR transactions is not always skipped.

Now most galera_sr MTR tests succeed, including galera_sr.GCF-900.
This commit is contained in:
Pekka Lampio
2021-03-10 18:13:09 +02:00
parent 3909de3d67
commit df55a53c35
2 changed files with 22 additions and 3 deletions

View File

@ -144,8 +144,14 @@ namespace wsrep
*
* @return Zero in case of success, non-zero in case of failure
*/
#ifdef WITH_WSREP_SR_SPEEDUP
virtual int rollback(const wsrep::ws_handle& ws_handle,
const wsrep::ws_meta& ws_meta,
bool skip_rollback = false) = 0;
#else
virtual int rollback(const wsrep::ws_handle& ws_handle,
const wsrep::ws_meta& ws_meta) = 0;
#endif /* WITH_WSREP_SR_SPEEDUP */
/**
* Apply a TOI operation.