[MDEV-28079] Shutdown hangs after altering innodb partition fts table Created: 2022-03-16 Updated: 2022-03-16 Resolved: 2022-03-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.6 |
| Fix Version/s: | 10.6.8, 10.7.4, 10.8.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Thirunarayanan Balathandayuthapani | Assignee: | Thirunarayanan Balathandayuthapani |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Shutdown keeps on hanging because purge threads are waiting on purge_sys.check_stop_FTS()
stop_FTS is being called for each partition, but it calls resume_FTS() only once in alter command. |
| Comments |
| Comment by Marko Mäkelä [ 2022-03-16 ] |
|
Thank you, the logic of the fix looks good to me. For the regression test, I hope that we can reproduce this with wait_all_purged.inc instead of requiring a server restart. |