horaedb
horaedb copied to clipboard
feat(horaemeta): add node inspector
Rationale
In some extreme scenarios, etcd events may be lost or update failures may occur, which may cause the mapping between nodes and shards to fail to be updated correctly. We need to add a cover-up mechanism to ensure that the mapping relationship is always correct.
Detailed Changes
- Add
NodeInspector
, it will start when the cluster start, running in he background and detect the status of nodes.
Test Plan
Pass CI.