Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-5093

Fix compaction selector bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master branch, 0.13.0-SNAPSHOT
    • 1.0.0
    • None
    • 2022-11-Cluster

    Description

      Description

      target file overlap with previous file 

       

      Reason

      In the process of getting the file list and starting to select files, the file list is updated (the file is deleted or the status is updated). When a seq file is occupied and deleted by other compaction thread, and it happens to select files in cross space compaction, the deleted file will be filtered out, resulting in an overlap target file.

       

      Solution

      Do not filter out any seq files before selecting the files. After selecting the files, judge whether the seq files have been deleted or being compacted. If there are any, the task will be discarded.

      Attachments

        Issue Links

          Activity

            People

              ChouBenson 周沛辰
              ChouBenson 周沛辰
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: