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

Limit the number of all source files in compaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      Control the number of files of all compaction threads in the system to prevent too many open file handles.
       
      Now we have control the number of files in a single compaction task, but not strictly. For example, in cross-space compaction, if an unseq file has a large time span and overlaps with too many seq files, it is allowed to execute the task and may increase a huge number of open file handles. The improvement method is to control the total number of source files of the compaction threads in the system, check the number of files before the task starts, wait if it exceeds the threshold, and exit after timeout.

      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