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:
@ -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';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user