周沛辰 created IOTDB-5093:
--------------------------

             Summary: Fix compaction selector bug
                 Key: IOTDB-5093
                 URL: https://issues.apache.org/jira/browse/IOTDB-5093
             Project: Apache IoTDB
          Issue Type: Bug
    Affects Versions: master branch, 0.13.0-SNAPSHOT
            Reporter: 周沛辰
            Assignee: 周沛辰


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to