This is an automated email from the ASF dual-hosted git repository.

payang 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 b0e3485fec6 MINOR: Fix typo 'curent' to 'current' in LeaderState 
(#21764)
b0e3485fec6 is described below

commit b0e3485fec61666fb8046da3ce0f32f408b1bd00
Author: 조형준 <[email protected]>
AuthorDate: Tue Mar 17 19:10:15 2026 +0900

    MINOR: Fix typo 'curent' to 'current' in LeaderState (#21764)
    
    Fix typo `curent` -> `current` in LeaderState Javadoc.
    
    Reviewers: Ken Huang <[email protected]>, Nilesh Kumar
     <[email protected]>, PoAn Yang <[email protected]>
---
 raft/src/main/java/org/apache/kafka/raft/LeaderState.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/raft/src/main/java/org/apache/kafka/raft/LeaderState.java 
b/raft/src/main/java/org/apache/kafka/raft/LeaderState.java
index aa7af6cdbc3..39dcdb2487c 100644
--- a/raft/src/main/java/org/apache/kafka/raft/LeaderState.java
+++ b/raft/src/main/java/org/apache/kafka/raft/LeaderState.java
@@ -507,7 +507,7 @@ public class LeaderState<T> implements EpochState {
      * This methods upgrades the kraft version to {@code newVersion}. If the 
version is already
      * {@code newVersion}, this is a noop operation.
      *
-     * KRaft only supports upgrades, so {@code newVersion} must be greater 
than or equal to curent
+     * KRaft only supports upgrades, so {@code newVersion} must be greater 
than or equal to current
      * kraft version {@code persistedVersion}.
      *
      * For the upgrade to succeed all of the voters in the voter set must 
support the new kraft

Reply via email to