mariadb/mysql-test/suite/rpl
Brandon Nesterenko 9a4991a089 MDEV-33799: mysql_manager_submit Segfault at Startup Still Possible During Recovery
MDEV-26473 fixed a segmentation fault at startup between the handle
manager thread and the binlog background thread, such that the
binlog background thread could be started and submit a job to the
handle manager, before it had initialized. Where MDEV-26473 made it
so the handle manager would initialize before the main thread
started the normal binary logs, it did not account for the recovery
case. That is, there is still a possibility of a segmentation fault
when a server is recovering using the binary logs such that it can
open the binary logs, start the binlog background thread, and submit
a job to the handle manager before it is initialized.

This patch fixes this by moving the initialization of the mysql
handler manager to happen prior to recovery.

Reviewed By:
============
Andrei Elkin <andrei.elkin@mariadb.com>
2024-04-03 11:55:18 -06:00
..
extension
include MDEV-33582 Add more warnings to be able to better diagnose network issues 2024-03-05 20:19:49 +02:00
r MDEV-33799: mysql_manager_submit Segfault at Startup Still Possible During Recovery 2024-04-03 11:55:18 -06:00
t MDEV-33799: mysql_manager_submit Segfault at Startup Still Possible During Recovery 2024-04-03 11:55:18 -06:00
disabled.def MDEV-17390: re-neable rpl_semi_sync_after_sync test 2022-06-17 19:38:43 +03:00
my.cnf Remove duplicated default client include from replication my.cnf 2023-09-14 12:56:41 +02:00
README
rpl_1slave_base.cnf

How to run.
===========

./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed