mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02: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:
parent
de13fccfc6
commit
9bbd685e8d
2 changed files with 4 additions and 0 deletions
|
|
@ -4,5 +4,6 @@
|
||||||
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync WAIT_FOR go';
|
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync WAIT_FOR go';
|
||||||
SET DEBUG_SYNC= 'now WAIT_FOR in_sync';
|
SET DEBUG_SYNC= 'now WAIT_FOR in_sync';
|
||||||
SET DEBUG_SYNC= 'now SIGNAL go';
|
SET DEBUG_SYNC= 'now SIGNAL go';
|
||||||
|
user
|
||||||
SET DEBUG_SYNC = 'RESET';
|
SET DEBUG_SYNC = 'RESET';
|
||||||
End of 5.5 tests
|
End of 5.5 tests
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,10 @@ remove_file $MYSQLTEST_VARDIR/tmp//MDEV-20466.text;
|
||||||
|
|
||||||
SET DEBUG_SYNC= 'now SIGNAL go';
|
SET DEBUG_SYNC= 'now SIGNAL go';
|
||||||
|
|
||||||
|
connection con1;
|
||||||
|
reap;
|
||||||
disconnect con1;
|
disconnect con1;
|
||||||
|
connection default;
|
||||||
|
|
||||||
SET DEBUG_SYNC = 'RESET';
|
SET DEBUG_SYNC = 'RESET';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue