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

Compacted topic segments that precede the log start offset are not cleaned up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0, 1.1.1, 2.0.0
    • 2.1.0
    • log
    • None

    Description

      LogManager.cleanupLogs currently checks if a topic is compacted, and skips any deletion if it is. This means that if the log start offset increases, log segments that precede the start offset will never be deleted. The log cleanup logic should be improved to delete these segments even for compacted topics.

      Attachments

        Issue Links

          Activity

            People

              bob-barrett Bob Barrett
              bob-barrett Bob Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: