Aikesheng Open Source Community
Aug 19, 2021 · Databases
Understanding MHA Master Selection Logic and Cross‑Version Switching Issues
This article analyses why MHA reports a "bad new master" error during master‑slave switches, explains the internal candidate‑master and bad‑master selection algorithms, demonstrates how MySQL version differences affect cross‑version promotion through test scenarios, and provides detailed code excerpts to illustrate the decision process.
MHAMySQLReplication
0 likes · 12 min read