mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-531 : Warning: Forcing close of thread ... in rpl_binlog_index
Use post_kill_notification in for one_thread_per_connection scheduler, the same as already used in threadpool, to reliably wake a thread stuck in read() or in different poll() variations.
This commit is contained in:
@ -257,7 +257,7 @@ static scheduler_functions tp_scheduler_functions=
|
||||
tp_add_connection, // add_connection
|
||||
tp_wait_begin, // thd_wait_begin
|
||||
tp_wait_end, // thd_wait_end
|
||||
tp_post_kill_notification, // post_kill_notification
|
||||
post_kill_notification, // post_kill_notification
|
||||
NULL, // end_thread
|
||||
tp_end // end
|
||||
};
|
||||
|
Reference in New Issue
Block a user