artemlivshits commented on code in PR #14033:
URL: https://github.com/apache/kafka/pull/14033#discussion_r1266314760


##########
storage/src/main/java/org/apache/kafka/storage/internals/log/VerificationStateEntry.java:
##########
@@ -41,4 +48,21 @@ public long timestamp() {
     public Object verificationGuard() {
         return verificationGuard;
     }
+
+    public int lowestSequence() {
+        return lowestSequence;
+    }
+
+    public short epoch() {
+        return epoch;
+    }
+
+    public void maybeUpdateLowestSequenceAndEpoch(int incomingSequence, short 
incomingEpoch) {

Review Comment:
   Should we add a comment that explains this logic with an example of the 
problem?



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to