gaurav-narula opened a new pull request, #19607:
URL: https://github.com/apache/kafka/pull/19607

   Log segment closure results in right sizing the segment on disk along with 
the associated index files.
   
   This is specially important for TimeIndexes where a failure to right size 
may eventually cause log roll failures leading to under replication and log 
cleaner failures.
   
   This change uses `Utils.closeAll` which propagates exceptions, resulting in 
an "unclean" shutdown. That would then cause the broker to attempt to recover 
the log segment and the index on next startup, thereby avoiding the failures 
described above.


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