[MDEV-21674] purge_sys.stop() no longer waits for purge workers to complete Created: 2020-02-06 Updated: 2020-02-07 Resolved: 2020-02-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5.0 |
| Fix Version/s: | 10.5.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
As noted at the start of 10.5-Test-Remove-innodb_log_optimize_ddl-and-FlushObserve.patch There likely is a race condition, but that race condition is not prominent before we remove the FlushObserver, like the patch does. For the record, I also ported the change to 10.3, and did not observe any crash in the two tests that exercise FLUSH TABLES…FOR EXPORT. The crash would usually be with the following assertion failure:
|
| Comments |
| Comment by Marko Mäkelä [ 2020-02-06 ] | |||||||||||||||
|
The following patch might be helpful if you cannot reproduce the problem by applying 10.5-Test-Remove-innodb_log_optimize_ddl-and-FlushObserve.patch
Note: I am not yet sure if that assertion is valid. If it turns out to be, then I think that it should be part of the fix.
(with the const qualifier). |