• Marko Mäkelä's avatar
    MDEV-17482 InnoDB fails to say which fatal error fsync() returned · 00572a0b
    Marko Mäkelä authored
    os_file_fsync_posix(): If fsync() returns a fatal error,
    do include errno in the error message.
    
    In the future, we might handle fsync() or write or allocation failures
    on InnoDB data files a little more gracefully: flag the affected index
    or table as corrupted, and deny any subsequent writes to the table.
    
    If a write to the undo log or redo log fails, an alternative to
    killing the server could be to deny any writes to InnoDB tables
    until the server has been restarted.
    00572a0b
os0file.cc 178 KB