Bug #105243 | Execute "mysql.server stop" command deadlock after using "start slave" command | ||
---|---|---|---|
Submitted: | 16 Oct 2021 9:09 | Modified: | 19 Oct 2021 8:27 |
Reporter: | sheng wei (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 8.0.25 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 Oct 2021 9:09]
sheng wei
[18 Oct 2021 2:47]
sheng wei
How to repeat: Before function "handle_slave_worker" of "thd_manager->add_thd(thd)" add "my_sleep(60000000)". When the command is executed to my_sleep(60000000), execute the mysql.server stop" command modify:Before function "handle_slave_sql" of "thd_manager->add_thd(thd)" add "my_sleep(60000000)". When the command is executed to my_sleep(60000000), execute the mysql.server stop" command
[19 Oct 2021 7:52]
MySQL Verification Team
Hi, Do you have a way of reproducing this without changing the code or debugging it? I don't see how this will fail in real life situation? Thanks
[19 Oct 2021 8:27]
sheng wei
This is the problem that occurs in the actual scene environment and is found through stack lookup. Instead of simply looking at the problems found in the code. Thanks