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

showuon 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 4a367577b9 MINOR: Fix minor typos in `PartitionChangeBuilder` (#12101)
4a367577b9 is described below

commit 4a367577b9886462cf8302dbd35bb9debad661e1
Author: David Jacot <dja...@confluent.io>
AuthorDate: Thu Apr 28 05:19:34 2022 +0200

    MINOR: Fix minor typos in `PartitionChangeBuilder` (#12101)
    
    Reviewers: Luke Chen <show...@gmail.com>
---
 .../main/java/org/apache/kafka/controller/PartitionChangeBuilder.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/metadata/src/main/java/org/apache/kafka/controller/PartitionChangeBuilder.java
 
b/metadata/src/main/java/org/apache/kafka/controller/PartitionChangeBuilder.java
index 907994d107..cdd6d4416f 100644
--- 
a/metadata/src/main/java/org/apache/kafka/controller/PartitionChangeBuilder.java
+++ 
b/metadata/src/main/java/org/apache/kafka/controller/PartitionChangeBuilder.java
@@ -244,7 +244,7 @@ public class PartitionChangeBuilder {
      * We need to bump the leader epoch if:
      * 1. The leader changed, or
      * 2. The new ISR does not contain all the nodes that the old ISR did, or
-     * 3. The new replia list does not contain all the nodes that the old 
replia list did.
+     * 3. The new replica list does not contain all the nodes that the old 
replica list did.
      *
      * Changes that do NOT fall in any of these categories will increase the 
partition epoch, but
      * not the leader epoch. Note that if the leader epoch increases, the 
partition epoch will

Reply via email to