ocadaruma commented on code in PR #15993:
URL: https://github.com/apache/kafka/pull/15993#discussion_r1625196957


##########
core/src/main/java/kafka/log/remote/RemoteLogManager.java:
##########
@@ -608,25 +613,23 @@ public boolean isCancelled() {
     }
 
     /**
-     * Returns the leader epoch checkpoint by truncating with the given 
start[exclusive] and end[inclusive] offset
+     * Returns the leader epoch entries within the range of the given 
start[exclusive] and end[inclusive] offset.
+     * <p>
+     * Visible for testing.
      *
      * @param log         The actual log from where to take the leader-epoch 
checkpoint
-     * @param startOffset The start offset of the checkpoint file (exclusive 
in the truncation).
+     * @param startOffset The start offset of the epoch entries (exclusive).

Review Comment:
   My bad, that's right



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