kamalcph commented on code in PR #14667:
URL: https://github.com/apache/kafka/pull/14667#discussion_r1378390961


##########
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:
   tp -> tpId
   
   Also, remove the comments from L368-L370 since we are addressing it in this 
patch.



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