Fix a HA failover bug where the master tries to become a master again and fails.

Instead of failing just log a warning, turns out this case can happen in a real-world scenario where the storage delays the writes of the master.

Based on Sam's approach and prototype test, thanks.