MySQL Forums
Forum List  »  General

Re: Can We Force MySQL to Terminate on Disk I/O Error?
Posted by: Authorized User
Date: January 19, 2022 04:01PM

Peter Brawley Wrote:
-------------------------------------------------------
> > We need MySQL to commit seppuku instantly if
> disk IO errors
> > so the rest of the cluster stack can fail over
> properly.
>
> Seems you will need to track InnoDB monitor and
> the error log, issuing a shutdown on a set of
> criteria.

You mean write a script to tail the logs and grep for strings, and take action based on certain strings? Any suggestions for errors to watch for?

More to the point, is there a MySQL or OS setting that can forcefully terminate a process if it experiences IO errors?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.