Bug #105318 | we will waste 8 seconds to wait mysql shutdown every time | ||
---|---|---|---|
Submitted: | 26 Oct 2021 8:01 | Modified: | 27 Oct 2021 8:10 |
Reporter: | xiaoyang qian | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.7.36, 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Oct 2021 8:01]
xiaoyang qian
[26 Oct 2021 8:14]
xiaoyang qian
fix: --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -1041,7 +1041,7 @@ static void close_connections(void) sql_print_information("Shutting down slave threads"); end_slave(); - if (set_kill_conn.get_dump_thread_count()) + if ((dump_thread_count= set_kill_conn.get_dump_thread_count())) { /* Replication dump thread should be terminated after the clients are
[27 Oct 2021 8:10]
MySQL Verification Team
Hello xiaoyang qian, Thank you for the report and feedback. Verified as described with 5.7.36 build. regards, Umesh