Skip to content

Commit

Permalink
fix(core): fix leader fast ABA reassign cause epoch outdated (#1187)
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Han <[email protected]>
  • Loading branch information
superhx authored Apr 28, 2024
1 parent 32c101b commit 666cae2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/scala/kafka/server/ReplicaManager.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2657,6 +2657,7 @@ class ReplicaManager(val config: KafkaConfig,
throw new IllegalStateException(s"Topic $tp exists, but its ID is " +
s"${partition.topicId.get}, not $topicId as expected")
}
createHook.accept(partition)
Some(partition, false)

case HostedPartition.None =>
Expand Down

0 comments on commit 666cae2

Please sign in to comment.