diff options
author | Vasil Dimov <vasil.dimov@galeracluster.com> | 2018-03-19 08:41:33 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-09-04 09:19:49 +0200 |
commit | 1d98255f613af130bae428e80b95712a2048acc1 (patch) | |
tree | e2bb37f1131d4a0c2365ed41f44aad0b0df89232 /sql/sql_trigger.cc | |
parent | 82bb01588d8cb3145c3f45c15c156b2c890d2c3f (diff) | |
download | mariadb-git-1d98255f613af130bae428e80b95712a2048acc1.tar.gz |
MDEV-15792 Fix mtr to be able to wait for >1 exited mysqld
If a mtr test case has started two mysqld processes (replication tests),
then kills the first one and kills the second one before starting the
first (so at some point there are two mysqlds down), then the ./mtr
waiting process bricks and forgets to monitor the "expect" file of the
first mysqld, so it never gets started again, even when its contents is
changed to "restart".
A victim of this deficiency is at least galera.galera_gcache_recover.
The fix is to keep a list of all mysqlds we should wait to start, not
just one (the last one killed).
Diffstat (limited to 'sql/sql_trigger.cc')
0 files changed, 0 insertions, 0 deletions