[MDEV-11600] Test innodb-wl5522-debug-zip aka innodb_zip.wl5522_debug_zip has race condition between opening tablespaces and external tool Created: 2016-12-19 Updated: 2021-10-25 Resolved: 2021-10-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jan Lindström (Inactive) | Assignee: | Marko Mäkelä |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Description |
|
InnoDB tries to open file on read-only mode but some external tool (in this case ib-utils) also has opened it as read-write.
|
| Comments |
| Comment by Marko Mäkelä [ 2017-03-14 ] | ||||||||
|
It would be useful to see more of the server error log, to determine at which point of the test the message was issued. | ||||||||
| Comment by Marko Mäkelä [ 2017-08-10 ] | ||||||||
|
Is this still an issue? | ||||||||
| Comment by Marko Mäkelä [ 2021-10-25 ] | ||||||||
|
The Description looks like a misunderstanding. No source code revision was stated, but based on the timestamp, this was slightly before the mariadb-10.2.3 release. The test innodb.innodb-wl5522-debug-zip had not been modified between 10.2.2 and 10.2.3, but there were some changes to the suppressions in 10.2.4. In I believe that the “ib-utils” refers to sections of the test like this:
There is no race condition here, because the file is being accessed between FLUSH TABLES…FOR EXPORT and UNLOCK TABLES. It looks like the problem simply was that the call mtr.add_suppression() had not been adjusted to the changed error messages:
This will find several ib::error() calls with that string but no suppression in the test. (There are suppressions in the test innodb-wl5522-debug.) I suspect that this was fixed in the 10.2.5 release. |