1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-22513 main.processlist_notembedded Timeout in wait_until_count_sessions

Do not blindly disconnect the connection that is in WAIT_FOR
because it could happen that neither the disconnect nor the
SIGNAL would be processed before RESET would discard the signal.
This commit is contained in:
Marko Mäkelä
2020-05-26 12:23:20 +03:00
parent de13fccfc6
commit 9bbd685e8d
2 changed files with 4 additions and 0 deletions

View File

@ -4,5 +4,6 @@
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync WAIT_FOR go';
SET DEBUG_SYNC= 'now WAIT_FOR in_sync';
SET DEBUG_SYNC= 'now SIGNAL go';
user
SET DEBUG_SYNC = 'RESET';
End of 5.5 tests

View File

@ -30,7 +30,10 @@ remove_file $MYSQLTEST_VARDIR/tmp//MDEV-20466.text;
SET DEBUG_SYNC= 'now SIGNAL go';
connection con1;
reap;
disconnect con1;
connection default;
SET DEBUG_SYNC = 'RESET';