'Data recovery in master-slave database replication

If master database fails in master-slave data replication strategy, and none of the slave has latest data, then how do we handle such a situation?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source