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

Do not cross-compact unseq files when there are non-compacted old unseq files

    XMLWordPrintableJSON

Details

    Description

      Current file selection for cross compaction (involving both seq files and unseq files) may choose unseq files and skip some older files, resulting in over-written data reappear.

      The selection should be terminated once an unfeasible unseq file is detected, which should be left for future compaction.

       

      For example:

      seq file (time-value): file1:(1,1)  

      unseq file: file2:(1,2),   file3:(1,3)

      If we first compact file3 with file1 and get (1,3), then compact file2, we will get final result (1,2).

      However, it should be (1,3).

      Attachments

        Activity

          People

            jt2594838 Tian Jiang
            jt2594838 Tian Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: