This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 9b542b6ea21 MINOR: Correct RemoteLogManager.getLeaderEpochEntries
comment (#20181)
9b542b6ea21 is described below
commit 9b542b6ea21e84677a9292f250fc25f8b4162e6f
Author: majialong <[email protected]>
AuthorDate: Sat Jul 19 00:04:03 2025 +0800
MINOR: Correct RemoteLogManager.getLeaderEpochEntries comment (#20181)
The comment on the RemoteLogManager.getLeaderEpochEntries method has a
small error description,it should be start(inclusive)and end(exclusive).
Reviewers: Ken Huang <[email protected]>, Lan Ding <[email protected]>,
Chia-Ping Tsai <[email protected]>
---
.../org/apache/kafka/server/log/remote/storage/RemoteLogManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManager.java
b/storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManager.java
index 852e1d4d1fb..9031de010c8 100644
---
a/storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManager.java
+++
b/storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManager.java
@@ -764,7 +764,7 @@ public class RemoteLogManager implements Closeable,
AsyncOffsetReader {
}
/**
- * Returns the leader epoch entries within the range of the given
start[exclusive] and end[inclusive] offset.
+ * Returns the leader epoch entries within the range of the given start
(inclusive) and end (exclusive) offset.
* <p>
* Visible for testing.
*