[MDEV-16456] InnoDB error "returned OS error 71" complains about wrong path Created: 2018-06-10 Updated: 2018-06-12 Resolved: 2018-06-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.0, 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.0.36, 10.1.34, 10.2.16, 10.3.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream | ||
| Description |
|
This simple 2-liner makes InnoDB produce the notorious "returned OS error 71" in the command line.
The SQL error is of course expected, and the appearance of the accompanying InnoDB error might be considerated legitimate; the problem is what it says:
In the error message, it mentions the valid existing path ./test/t1.ibd, but doesn't mention the problematic non-existing path, and it reads like ./test/t1.ibd does not exist. It's very confusing when it comes to investigation, especially when it's a problem on the user side, when we don't have all the information, don't know which statement was issued and what caused the error. |
| Comments |
| Comment by Marko Mäkelä [ 2018-06-11 ] | |||||||
|
The problem is that InnoDB is only reporting one file name with the error message:
Fixing this requires rewriting all the error reporting code, or maybe as a lesser evil, duplicating the logic of os_file_handle_error_no_exit() for rename, reporting both file names. |