[MDEV-28716] innodb.innodb_28867993 fails on FreeBSD with an error in log file Created: 2022-05-31 Updated: 2022-06-01 Resolved: 2022-06-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform FreeBSD, Storage Engine - InnoDB, Tests |
| Affects Version/s: | 10.8, 10.9 |
| Fix Version/s: | 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
It fails seemingly reliably (or at least very frequently) on 10.8+. No recorded failures on 10.7. |
| Comments |
| Comment by Marko Mäkelä [ 2022-06-01 ] | ||||||||||||
|
InnoDB sometimes likes to add OS_FILE_ERROR_MAX (200) to the errno codes. In FreeBSD, EPERM is 1. The Linux man 2 unlink says:
It seems that the following should fix this. It is applicable to every major version.
| ||||||||||||
| Comment by Marko Mäkelä [ 2022-06-01 ] | ||||||||||||
|
Here is the result of a test push for a 10.8-based branch:
|