[MDEV-26012] InnoDB purge and shutdown hangs after failed ALTER TABLE Created: 2021-06-24 Updated: 2021-06-24 Resolved: 2021-06-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Full-text Search, Storage Engine - InnoDB |
| Affects Version/s: | 10.6.2 |
| Fix Version/s: | 10.6.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | hang, regression | ||
| Issue Links: |
|
||||||||
| Description |
|
In ha_innobase::commit_inplace_alter_table() there are two error handling code paths where we fail to invoke purge_sys.resume_FTS() after purge_sys.stop_FTS() had been invoked. This would cause purge threads to wait forever for the counter to reach 0 again, and eventually cause the server shutdown to hang. |