[MDEV-17482] InnoDB fails to say which fatal error fsync() returned Created: 2018-10-17 Updated: 2020-12-08 Resolved: 2019-03-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Storage Engine - InnoDB |
| Affects Version/s: | 10.2.15 |
| Fix Version/s: | 10.2.23, 10.3.14, 10.4.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Seonghwan Kim | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | galera, innodb | ||
| Environment: |
IBM Cloud Env. |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
Hi, I think it seems like InnoDB engine's bug Thank you. |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2019-03-18 ] |
|
fsync has failed but log does not contain any error code so it is not exactly clear why. Did you check that file system has enough space ? Have you seen this crash more than one time or is this the only time ? |
| Comment by Seonghwan Kim [ 2019-03-18 ] |
|
I think it may enough disk space in that node at that time. |
| Comment by Marko Mäkelä [ 2019-03-18 ] |
|
The Linux manual page for fsync(2) reports the following possible errors, which could cause the intentional crash in InnoDB:
Since MariaDB Server 10.2.17, also EIO will result in an intentional crash. Theoretically, once If a write to the redo log fails, I think that the only reasonable options are to kill the server (like we do now) or to make all InnoDB tables read-only. For now, I will only change the diagnostics so that before killing the server, InnoDB will say which error code was returned by fsync(). |