Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PS-5678 (Parallel doublewrite mustcrash server on I/O error)
buf_dblwr_flush_buffered_writes must crash server on an I/O error to the doublewrite, as there is no way to continue flushing in such event: proceeding with write to the data file defeats the purpose of the doublewrite buffer. This was done in upstream legacy doublewrite, however parallel doublewrite implementation changed the write call from fil_io (which fails on error) to os_file_write (which returns error to caller). Fix by checking the return code of os_file_write and calling ib::fatal on error.
- Loading branch information