From 4a367577b9886462cf8302dbd35bb9debad661e1 Mon Sep 17 00:00:00 2001 From: David Jacot Date: Thu, 28 Apr 2022 05:19:34 +0200 Subject: [PATCH] MINOR: Fix minor typos in `PartitionChangeBuilder` (#12101) Reviewers: Luke Chen --- .../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 907994d107e..cdd6d4416f1 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