Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9157

logcleaner could generate empty segment files after cleaning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              huxi_2b huxihx
              junrao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: