mariadb/mysql-test/suite/binlog_in_engine
Kristian Nielsen 1027c5a221 Binlog-in-engine: Bug fix around crash-safe slave
Fix race where trx_group_commit_leader() was accessing the group commit
queue after waking up participants, which can invalidate the queue. Instead
do the remaining operations in the individual thread for each group commit
participant.

Also fix a problem where entries could be inserted out-of-order in the
pending LSN fifo, when the queue was empty after removing a later LSN, and
then an earlier LSN got inserted. This could move back the durable binlog
offset, causing slaves to not receive events.

Seen as sporadic failures of test case
binlog_in_engine.mariabackup_slave_provision_nolock.

A few other test tweaks to make them robust to sporadic failures.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2025-08-28 20:19:56 +02:00
..
include Binlog-in-engine: Bug fix around crash-safe slave 2025-08-28 20:19:56 +02:00
binlog_flush_purge.result Binlog-in-engine: INTERMEDIATE: use 16kB page size 2025-08-28 20:19:56 +02:00
binlog_flush_purge.test Binlog-in-engine: INTERMEDIATE: use 16kB page size 2025-08-28 20:19:56 +02:00
binlog_in_engine.result Binlog-in-engine: Make --binlog-storage-engine available as read-only system variable 2025-08-28 20:13:48 +02:00
binlog_in_engine.test Binlog-in-engine: Make --binlog-storage-engine available as read-only system variable 2025-08-28 20:13:48 +02:00
binlog_in_engine2.result MDEV-34705: Binlog-in-engine: No use of InnoDB tablespace and bufferpool 2025-08-28 20:13:47 +02:00
binlog_in_engine2.test MDEV-34705: Binlog-in-engine: Implement RESET MASTER 2025-08-28 20:11:15 +02:00
binlog_in_engine_restart.opt MDEV-34705: Binlog-in-engine: Configurable binlog directory 2025-08-28 20:11:15 +02:00
binlog_in_engine_restart.result MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
binlog_in_engine_restart.test MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
binlog_legacy_pos.result MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
binlog_legacy_pos.test MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
crash_safe_slave-master.opt MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
crash_safe_slave.result MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
crash_safe_slave.test MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
gtid_state.result Binlog-in-engine: Test case for GTID state > 1 page 2025-08-28 20:19:56 +02:00
gtid_state.test Binlog-in-engine: Test case for GTID state > 1 page 2025-08-28 20:19:56 +02:00
mariabackup_slave_provision_binlog_dir.cnf Binlog-in-engine: Bug fix around crash-safe slave 2025-08-28 20:19:56 +02:00
mariabackup_slave_provision_binlog_dir.result Binlog-in-engine: Bug fix around crash-safe slave 2025-08-28 20:19:56 +02:00
mariabackup_slave_provision_binlog_dir.test MDEV-34705: Binlog-in-engine: mariadb-backup integration 2025-08-28 20:13:48 +02:00
mariabackup_slave_provision_nolock.cnf Binlog-in-engine: Bug fix around crash-safe slave 2025-08-28 20:19:56 +02:00
mariabackup_slave_provision_nolock.result Binlog-in-engine: Bug fix around crash-safe slave 2025-08-28 20:19:56 +02:00
mariabackup_slave_provision_nolock.test MDEV-34705: Binlog-in-engine: mariadb-backup integration 2025-08-28 20:13:48 +02:00
my.cnf MDEV-34705: Binlog-in-engine: Fix race between reader and flush 2025-08-28 20:13:48 +02:00
mysqlbinlog-master.opt Binlog-in-engine: Support for new binlog format in mysqlbinlog 2025-08-28 20:19:53 +02:00
mysqlbinlog.result Binlog-in-engine: Support for new binlog format in mysqlbinlog 2025-08-28 20:19:53 +02:00
mysqlbinlog.test Binlog-in-engine: Support for new binlog format in mysqlbinlog 2025-08-28 20:19:53 +02:00
nontrans.result Binlog-in-engine: Report master restart to slave 2025-08-28 20:19:56 +02:00
nontrans.test Binlog-in-engine: Report master restart to slave 2025-08-28 20:19:56 +02:00
not_implemented_yet.result Binlog-in-engine: BINLOG_GTID_POS() not available with --binlog-in-engine 2025-08-28 20:19:56 +02:00
not_implemented_yet.test Binlog-in-engine: BINLOG_GTID_POS() not available with --binlog-in-engine 2025-08-28 20:19:56 +02:00
purge_dump_thread-master.opt MDEV-34705: Binlog-in-engine: Implement refcounting outstanding OOB records 2025-08-28 20:13:48 +02:00
purge_dump_thread.result MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
purge_dump_thread.test MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
recovery.opt MDEV-34705: Binlog-in-engine: Recovery intermediate commit 2025-08-28 20:13:48 +02:00
recovery.result Binlog-in-engine: Report master restart to slave 2025-08-28 20:19:56 +02:00
recovery.test MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
recovery_large.opt MDEV-34705: Binlog-in-engine: Recovery testcase + few bugfixes 2025-08-28 20:13:48 +02:00
recovery_large.result MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
recovery_large.test MDEV-34705: Binlog-in-engine: Crash-safe slave 2025-08-28 20:13:48 +02:00
rpl_gtid_index-master.opt MDEV-34705: Binlog-in-engine: Configurable binlog directory 2025-08-28 20:11:15 +02:00
rpl_gtid_index-slave.opt MDEV-34705: Binlog-in-engine: Configurable binlog directory 2025-08-28 20:11:15 +02:00
rpl_gtid_index.result MDEV-34705: Binlog-in-engine: Working replication to slave 2025-08-28 20:08:20 +02:00
rpl_gtid_index.test Binlog-in-engine: Implement dynamically changing binlog max size 2025-08-28 20:13:48 +02:00
rpl_heartbeat.result Binlog-in-engine: Implement heartbeat support 2025-08-28 20:19:56 +02:00
rpl_heartbeat.test Binlog-in-engine: Implement heartbeat support 2025-08-28 20:19:56 +02:00
rpl_oob.result Binlog-in-engine: Handle single event writes larger than binlog size 2025-08-28 20:13:48 +02:00
rpl_oob.test Binlog-in-engine: Handle single event writes larger than binlog size 2025-08-28 20:13:48 +02:00
rpl_parallel_temptable.result Binlog-in-engine: Report master restart to slave 2025-08-28 20:19:56 +02:00
rpl_parallel_temptable.test Binlog-in-engine: Report master restart to slave 2025-08-28 20:19:56 +02:00
savepoint.result Binlog-in-engine: Handle mixing transactional and non-transactional tables 2025-08-28 20:13:48 +02:00
savepoint.test Binlog-in-engine: Handle mixing transactional and non-transactional tables 2025-08-28 20:13:48 +02:00