Company
Date Published
Author
Shlomi Noach
Word count
2183
Language
English
Hacker News points
None

Summary

Vitess has integrated Orchestrator, an open-source MySQL replication topology management and high availability solution, as a native component to achieve reliable failover, availability, and topology resolution of its clusters. Orchestrator uses a holistic approach to failure detection, triangulating checks with the servers' checks, whereas traditional methods rely on a single observation to act. This approach allows orchestrator to detect failures more reliably and make goal-driven decisions to ensure a cluster is always in a state compatible with Vitess' expectations. The integrated Orchestrator can run Vitess-native functions, such as locking shards or fetching tablet information, and is aware of the replication tree's health and status. It promotes a server based on multiple limiting factors and non-server-specific rules, allowing users to choose a failover and recovery policy described in code. This integration enables more reliable and efficient management of MySQL replication clusters, reducing the risk of cluster corruption and improving overall availability.