muralibasani commented on code in PR #22203:
URL: https://github.com/apache/kafka/pull/22203#discussion_r3213800372


##########
raft/src/main/java/org/apache/kafka/raft/LeaderState.java:
##########
@@ -72,6 +72,7 @@ public class LeaderState<T> implements EpochState {
     // This field is non-empty if the voter set at epoch start came from a 
snapshot or log segment
     private final OptionalLong offsetOfVotersAtEpochStart;
     private final KRaftVersion kraftVersionAtEpochStart;
+    private final Optional<ReplicaKey> votedKey;

Review Comment:
   also add to toString() method ?



-- 
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]

Reply via email to