You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "Paragrf (via GitHub)" <gi...@apache.org> on 2026/04/28 07:17:30 UTC

[PR] feat:Implement Multi-node Quorum-based HA [kvrocks-controller]

Paragrf opened a new pull request, #393:
URL: https://github.com/apache/kvrocks-controller/pull/393

   **Background**
   To enhance the stability of the Kvrocks system, we have implemented an HA (High Availability) system based on multi-controller consensus.
   
   **Key Changes** 
   
   - Voting mechanism: Each controller independently probes every Kvrocks node. Before promoting a new master, the leader collects unanimous votes from all peer controllers via POST /internal/vote. A single NO (or unreachable peer with a live lease) blocks the failover.
   
   - Peer discovery: Controllers register themselves in the store with a heartbeat. ListActivePeers returns peers whose leases are still alive. Expired peers are excluded from quorum rather than blocking failover.
   
   - Observability:Structured zap logging at every vote decision point (round start, per-peer vote with diagnostic fields, round outcome). Seven new Prometheus metrics track failover proposals, completions, blocks, vote round duration, peer count, per-node failure counts, and individual probe failures.
   
   **Related Issues** 
   #392 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat:Implement Multi-node Quorum-based HA [kvrocks-controller]

Posted by "Paragrf (via GitHub)" <gi...@apache.org>.
Paragrf closed pull request #393: feat:Implement Multi-node Quorum-based HA
URL: https://github.com/apache/kvrocks-controller/pull/393


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat:Implement Multi-node Quorum-based HA [kvrocks-controller]

Posted by "Paragrf (via GitHub)" <gi...@apache.org>.
Paragrf commented on PR #393:
URL: https://github.com/apache/kvrocks-controller/pull/393#issuecomment-4333141581

   mistake


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org