Summary
The current failover tests cover graceful master takeover and hard failover (DeadMaster). Several important failover scenarios are untested:
- Intermediate master failure (chain topology)
- Errant GTID detection and handling
- Co-master failover
Proposal
- Intermediate master failure: Set up chain topology (mysql1→mysql2→mysql3), kill mysql2, verify mysql3 is relocated under mysql1
- Errant GTID: Inject an errant transaction on a replica, verify orchestrator detects it via
/api/errant-gtid
- Co-master failover: Set up co-master pair, kill one, verify recovery
Acceptance Criteria
Summary
The current failover tests cover graceful master takeover and hard failover (DeadMaster). Several important failover scenarios are untested:
Proposal
/api/errant-gtidAcceptance Criteria