frankvicky commented on code in PR #18789:
URL: https://github.com/apache/kafka/pull/18789#discussion_r1940619541
##########
raft/src/main/java/org/apache/kafka/raft/QuorumState.java:
##########
@@ -621,13 +621,14 @@ public void transitionToProspective() {
}
int retries = isCandidate() ? candidateStateOrThrow().retries() + 1 :
1;
+ int epoch = isResigned() ? epoch() + 1 : epoch();
Review Comment:
According to KIP-996, we should increase the epoch if the quorum state
transitions from resigned.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]