andrewchoi5 commented on a change in pull request #8479: URL: https://github.com/apache/kafka/pull/8479#discussion_r448505615
########## File path: core/src/main/scala/kafka/cluster/Partition.scala ########## @@ -499,7 +500,15 @@ class Partition(val topicPartition: TopicPartition, addingReplicas = addingReplicas, removingReplicas = removingReplicas ) - createLogIfNotExists(partitionState.isNew, isFutureReplica = false, highWatermarkCheckpoints) + try { + this.createLogIfNotExists(partitionState.isNew, isFutureReplica = false, highWatermarkCheckpoints) Review comment: @junrao -- My understanding was we wanted to catch ZooKeeperClientException when performing createLogIfNotExists within makeLeader and makeFollower methods. Did we want to place this somewhere else? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org