diff options
author | Andrei <andrei.elkin@mariadb.com> | 2023-03-23 18:45:34 +0200 |
---|---|---|
committer | Andrei <andrei.elkin@mariadb.com> | 2023-04-25 19:43:04 +0300 |
commit | e22a57da827f11f0ba9903675e4086ab9cf52a0d (patch) | |
tree | c95d47202fa0769201ec221f665beeae5d306212 /mysql-test | |
parent | a72b2c3ffb15541520de96c29ea482f80a57f46f (diff) | |
download | mariadb-git-e22a57da827f11f0ba9903675e4086ab9cf52a0d.tar.gz |
MDEV-30620 Trying to lock uninitialized LOCK_parallel_entry
The error was seen by a number of mtr tests being caused
by overdue initialization of rpl_parallel::LOCK_parallel_entry.
Specifically, SHOW-SLAVE-STATUS might find in
rpl_parallel::workers_idle() a gtid domain hash entry
already inserted whose mutex had not done
mysql_mutex_init().
Fixed with swapping the mutex init and the its entry's stack insertion.
Tested with a generous number of `mtr --repeat` of a few of the reported
to fail tests, incl rpl.parallel_backup.
Diffstat (limited to 'mysql-test')
0 files changed, 0 insertions, 0 deletions