mariadb/storage/innobase/trx
Sergey Vojtovich 55ddfe1c95 MDEV-36684 - main.mdl_sync fails under valgrind (test for Bug#42643)
Valgrind is single threaded and only changes threads as part of
system calls or waits.

Some busy loops were identified and fixed where the server assumes
that some other thread will change the state, which will not happen
with valgrind.

Based on patch by Monty. Original patch introduced VALGRIND_YIELD,
which emits pthread_yield() only in valgrind builds. However it was
agreed that it is a good idea to emit yield() unconditionally, such
that other affected schedulers (like SCHED_FIFO) benefit from this
change. Also avoid pthread_yield() in favour of standard
std::this_thread::yield().
2025-04-29 15:05:20 +04:00
..
trx0i_s.cc MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
trx0purge.cc MDEV-36684 - main.mdl_sync fails under valgrind (test for Bug#42643) 2025-04-29 15:05:20 +04:00
trx0rec.cc Merge branch '10.5' into 10.6 2025-04-21 10:43:17 +02:00
trx0roll.cc MDEV-33064: Sync trx->wsrep state from THD on trx start 2025-01-14 02:17:22 +01:00
trx0rseg.cc MDEV-34678 pthread_mutex_init() without pthread_mutex_destroy() 2024-08-14 07:54:15 +03:00
trx0sys.cc MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
trx0trx.cc MDEV-24035 fixup: GCC 4.8.5 CMAKE_BUILD_TYPE=Debug 2025-03-26 10:40:31 +01:00
trx0undo.cc Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00