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

Compaction error when using Version as first sort dimension

    XMLWordPrintableJSON

Details

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

    Description

      In current implementation of compaction, the default sort dimension is file version when selecting compaction tasks. It will lead to compaction error in tsfile load scenario. It is because the TsFile with higher version may not has greater timestamp when the TsFile is loaded by tools.

       

      Solution:

      change the sort dimension from file version to timestamp.

      Attachments

        1. image-2023-05-11-16-24-11-808.png
          3.82 MB
          周沛辰
        2. image-2023-05-11-16-24-42-712.png
          5.96 MB
          周沛辰

        Activity

          People

            ChouBenson 周沛辰
            xingtanzjr Jinrui Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: