Bug #83528 | InnoDB mutex bs: periodic waiters wakeup | ||
---|---|---|---|
Submitted: | 25 Oct 2016 13:06 | Modified: | 2 Dec 2016 14:58 |
Reporter: | Sergey Vojtovich | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[25 Oct 2016 13:06]
Sergey Vojtovich
[25 Oct 2016 14:49]
MySQL Verification Team
Hi Sergey, Thank you very much for your bug report. Can you be more specific about the "How to repeat" section. A test case is not obligatory, but a detailed code analysis would do. Thank you in advance ....
[25 Oct 2016 15:05]
Sergey Vojtovich
Hi Sinisa, Apparently it's duplicate of https://bugs.mysql.com/bug.php?id=79477, which I missed somehow. As for additional information... The fact that InnoDB expects that threads may get stuck is documented here https://github.com/mysql/mysql-server/blob/8.0/storage/innobase/include/ib0mutex.h#L673, right? The fact that srv_error_monitor_thread() does periodic wake up (calls sync_arr_wake_threads_if_sema_free()) can be seen here: https://github.com/mysql/mysql-server/blob/8.0/storage/innobase/srv/srv0srv.cc#L1633 The fact that srv_error_monitor_thread() acquires mutex itself starts here: https://github.com/mysql/mysql-server/blob/8.0/storage/innobase/srv/srv0srv.cc#L1606 just follow call chain log_get_lsn() / log_mutex_enter() / mutex_enter() Thanks for your time!
[2 Dec 2016 14:58]
MySQL Verification Team
This is a duplicate of the bug # 79477: http://bugs.mysql.com/bug.php?id=79477 I have verified that bug and provided it with proper priority.