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

Release file num cost after cross compaction task

    XMLWordPrintableJSON

Details

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

    Description

      Description

      Now the system has overall control over the number of source files of cross-space compaction task. Before the compaction starts, it will apply to the system for the number of files that need to be used, and the number of occupied files should be released normally after the compaction is completed. This pr fixes the number of files that were not released after the compaction. As a result, after several times of cross-space compaction tasks, the subsequent cross-space compaction can no longer normally apply for the number of files, resulting in the cross compaction being stuck.

       

      Now the system has an upper limit of 5000 for the total number of source files of cross-space compaction. With the execution of the cross-space compaction, when the cumulative number of source files is close to 5000, the subsequent cross-space compaction will not be able to apply for the number of files and get stuck.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: