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
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.