chia7712 commented on code in PR #21470:
URL: https://github.com/apache/kafka/pull/21470#discussion_r4506357247


##########
core/src/main/scala/kafka/server/ReplicaManager.scala:
##########
@@ -2337,8 +2337,8 @@ class ReplicaManager(val config: KafkaConfig,
 
       case _: HostedPartition.None[Partition] =>
         if (delta.image().topicsById().containsKey(topicId)) {
-          stateChangeLogger.error(s"Expected partition $tp with topic id " +
-            s"$topicId to exist, but it was missing. Creating...")
+          stateChangeLogger.info(s"Partition $tp (ID: $topicId) not found 
locally; " +

Review Comment:
   I didn’t find a case where this broker was already a replica in the previous 
image but the partition is missing locally, so it should be fine to use INFO 
level here.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to