[MDEV-15554] InnoDB page_cleaner shutdown sometimes hangs Created: 2018-03-13 Updated: 2018-05-07 Resolved: 2018-03-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.2, 10.3.0 |
| Fix Version/s: | 10.2.14, 10.3.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | hang, shutdown, upstream | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Sprint: | 10.2.14 | ||||||||||||||||||||||||||||||||
| Description |
|
With the merge of the InnoDB changes from MySQL 5.7.9, MariaDB 10.2.2 inherited a new shutdown hang that was introduced in MySQL 5.7.4 or 5.7.5. The hang is caused by a race condition or a lost signal. The purge thread would signal the worker threads only once, and then keep waiting for the workers to exit, without bothering to resignal them. The following patch fixes the problem:
As noted in
|