Browse Source

MINOR: Fix minor typos in `PartitionChangeBuilder` (#12101)

Reviewers: Luke Chen <showuon@gmail.com>
pull/12105/head
David Jacot 3 years ago committed by GitHub
parent
commit
4a367577b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      metadata/src/main/java/org/apache/kafka/controller/PartitionChangeBuilder.java

2
metadata/src/main/java/org/apache/kafka/controller/PartitionChangeBuilder.java

@ -244,7 +244,7 @@ public class PartitionChangeBuilder { @@ -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

Loading…
Cancel
Save