kamalcph commented on PR #21352:
URL: https://github.com/apache/kafka/pull/21352#issuecomment-3805452522

   Assume that the current timestamp is at 100th ms and the user configured 
retention time is to keep the data for 12 ms. Then, the current code deletes 
the segment when segment's maxTimestamp <= 88 which is valid. 
   
   KAFKA-16385 filed around segment rollover and deletion. Deleting the segment 
after exact retention time or after retention time + 1 ms delay both looks 
valid to me. If this is not a bug, then my suggestion is not to fix it. 
   
   @showuon Do you have any comments? Thanks! 


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