Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL)
-
None
Description
WriteFile may fail if number of NTFS extents reached limit. GetLastError() returns 665 (ERROR_FILE_SYSTEM_LIMITATION), and this is mapped to catch-all generic EINVAL,
which does not help much with troubleshooting.
In one case , as reported by support, mariabackup was returning EINVAL during write of a large file, and it required procmon tracing to find out the actual reason for failure.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.0.33 [ 22552 ] | |
Fix Version/s | 10.0 [ 16000 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Summary | my_write() sets inappropriate errno, if WriteFile fails with ERROR_FILE_SYSTEM_LIMITATON | my_write() sets inappropriate errno, if WriteFile fails with ERROR_FILE_SYSTEM_LIMITATION |
Workflow | MariaDB v3 [ 82337 ] | MariaDB v4 [ 152736 ] |
https://github.com/MariaDB/server/commit/66eb9774e43dc96e7d45d800b4860354f81d258d