in normal practice, you should not receive corruption. if you get corruption, you need to look at things like bad memory, bad hard drive, bad disk controller or possibly mysql error.
if you want to do your best, you can configure the replication slave. when the master dies, stop replication on the slave and make it the new master. clear the data from the old master and configure it as a subordinate. The user downtime will be limited by the amount of time it takes to detect that the master is dead, and bring the slave.
this has the added benefit of being a good way to back up with zero downtime: turn off the slave process and back up the slave.
longneck
source share