[ https://issues.apache.org/jira/browse/KAFKA-9157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976330#comment-16976330 ]
huxihx commented on KAFKA-9157: ------------------------------- [~sbellapu] Do yo still work on this jira? If not, could I take on this one? I already reproduced the issue and managed to work out a fix. What do you think? > logcleaner could generate empty segment files after cleaning > ------------------------------------------------------------ > > Key: KAFKA-9157 > URL: https://issues.apache.org/jira/browse/KAFKA-9157 > Project: Kafka > Issue Type: Improvement > Components: core > Affects Versions: 2.3.0 > Reporter: Jun Rao > Priority: Major > > Currently, the log cleaner could only combine segments within a 2-billion > offset range. If all records in that range are deleted, an empty segment > could be generated. It would be useful to avoid generating such empty > segments. -- This message was sent by Atlassian Jira (v8.3.4#803005)