kamalcph commented on code in PR #14667: URL: https://github.com/apache/kafka/pull/14667#discussion_r1378448023
########## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ########## @@ -379,6 +379,8 @@ public void stopPartitions(Set<StopPartition> stopPartitions, LOGGER.info("Deleting the remote log segments task for partition: {}", tpId); deleteRemoteLogPartition(tpId); } + } else { + LOGGER.warn("StopPartition call is not expected for partition: {}", tp); Review Comment: Then, we can keep it as `tp` itself. -- 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