jolshan commented on a change in pull request #9944: URL: https://github.com/apache/kafka/pull/9944#discussion_r651329577
########## File path: raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java ########## @@ -945,10 +945,12 @@ private boolean hasValidClusterId(String requestClusterId) { return completedFuture(new FetchResponseData().setErrorCode(Errors.INCONSISTENT_CLUSTER_ID.code())); } - if (!hasValidTopicPartition(request, log.topicPartition())) { + if (!hasValidTopicPartition(request, log.topicPartition(), log.topicId())) { Review comment: Are you referring to creating a new topic ID for the metadata topic? For now, we are simply using the sentinel ID. -- 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