KIP-996 — Pre-Vote
Discussion Kafka 4.0 KRaft
Implements Pre-Vote in KRaft: a partitioned controller first canvasses the cluster to check whether it would win a majority vote before incrementing its epoch and sending a real VoteRequest. Without Pre-Vote, a follower partitioned from the leader continuously increments its epoch and sends disruptive VoteRequests upon reconnection, forcing unnecessary leader elections and causing flip-flopping leadership in certain network partition scenarios.
Protocol Impact
Details
| Author | Alyssa Huang |
| Status | Discussion |
| Kafka Version | 4.0 |
| JIRA | KAFKA-16164 |
| Wiki | View on Apache Wiki |
| Created | 2023-10-13 |
| Last Modified | 2025-01-02 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.