jeqo commented on PR #14727:
URL: https://github.com/apache/kafka/pull/14727#issuecomment-1808280889

   @divijvaidya good catch! 
   Although, in the case of delete there's no exception as deleting a segment 
that is not present on remote does not throw an exception as it's idempotent. 
Regardless, it make sense to add this validation to save us a remote call and 
only call delete segment when appropriate.


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

Reply via email to