mariadb/storage
Teemu Ollakka 47dd617c7f MDEV-35265 wsrep.wsrep-recover, wsrep.wsrep-recover-v25 fail on assertion
The tests fail on assertion

    ut_ad(!wsrep_is_wsrep_xid(&trx->xid));

in `innobase_recover_rollback_by_xid()`.

The fix is to avoid async rollback for prepared transactions
when wsrep is ON or wsrep recovery is in progress. The rationale
is that the rollback of prepared transactions must complete
before the node starts applying write sets after SST, or in
case of wsrep recovery, the recovery must complete before the
process exists.

Change the assertion into stronger one

    ut_ad(!(WSREP_ON || wsrep_recovery));

to catch if the async rollback codepath is taken when wsrep is
enabled.
2024-10-29 12:15:53 +02:00
..
archive Merge 10.6 into 10.11 2024-06-27 10:26:09 +03:00
blackhole Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-10 12:17:09 +04:00
columnstore Merge '11.4' into 11.6 2024-10-03 15:59:20 +10:00
connect Merge 11.4 into 11.6 2024-10-03 16:09:56 +03:00
csv Merge 11.4 into 11.6 2024-10-03 16:09:56 +03:00
example Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-10 12:17:09 +04:00
federated Merge remote-tracking branch 'origin/11.2' into 11.4 2024-07-09 21:45:37 +04:00
federatedx Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-10 12:17:09 +04:00
heap Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
innobase MDEV-35265 wsrep.wsrep-recover, wsrep.wsrep-recover-v25 fail on assertion 2024-10-29 12:15:53 +02:00
maria Merge 11.4 into 11.6 2024-10-03 16:09:56 +03:00
mroonga Merge 11.4 into 11.6 2024-10-03 16:09:56 +03:00
myisam Merge branch '11.4' into 11.5 2024-08-21 11:52:54 +02:00
myisammrg Merge 10.6 into 10.11 2024-06-27 10:26:09 +03:00
oqgraph Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-10 12:17:09 +04:00
perfschema Merge 11.4 into 11.6 2024-10-03 16:09:56 +03:00
rocksdb MDEV-27277 Add a warning when max_sort_length is reached 2024-10-22 21:42:53 +07:00
sequence MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
sphinx Merge branch '10.11' into 11.1 2024-07-08 22:40:16 +02:00
spider MDEV-34716 Fix mysql.servers socket max length too short 2024-10-15 10:50:22 +11:00
test_sql_discovery MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00