incubator-horaedb-meta
incubator-horaedb-meta copied to clipboard
Start and stop the cluster manager when the leader changes
Description
Start and stop the cluster manager when the leader changes.
Proposal
- [x] When the leader changes, the cluster manage is needed to be started or stopped.
- [ ] Consider to avoid data race, when the leader changes. For example: schemasCache is not right.
Additional context