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

Fix exception when file is deleted during compaction selection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.2.0
    • None

    Description

      There are totally 3 bugs:

      • After copying the fileList in cross space selection, the file is deleted during the selection process, and an error will be reported when reading the resource file and evaluating memory.
      • After the file is selected and the task is added into the queue, the file is deleted, which will causing setStatus method to report an error from setting DELETED to COMPACTION_CANDIDATE.
      • In the process of waiting in the queue, the file is deleted, and if the file is found to be deleted before the execution, it will releaseAllLock, and then set the status of a deleted file from DELETED to NORMAL.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 72h
                72h
                Logged:
                Time Spent - Not Specified
                Not Specified