jolshan commented on a change in pull request #11459: URL: https://github.com/apache/kafka/pull/11459#discussion_r750520495
########## File path: core/src/main/scala/kafka/server/ReplicaManager.scala ########## @@ -1401,6 +1401,12 @@ class ReplicaManager(val config: KafkaConfig, if (partitionState.leader != localBrokerId) topicIdUpdateFollowerPartitions.add(partition) Errors.NONE + case None if logTopicId.isDefined => + // If we have a topic ID in the log but not in the request, we must have previously had topic IDs but Review comment: I'm thinking we should move the other if condition up so that the log message isn't confusing. (ie, if the broker is a leader we go to the other case) -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org