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

Fix error in aligned empty value chunk in fast compaction

    XMLWordPrintableJSON

Details

    • StorageEngine-Backlog

    Description

      Description

      When there is an aligned empty value chunk in the source file, the fast compaction will report that the array is out of bounds.

       

      Reason

      When there is an aligned empty value chunk in the source file, it will also have corresponding chunkMetadata in the TsFile, but fastCompaction does not judge the empty value chunk when reading chunkMetadata, resulting in subsequent errors.

       

      Solution

      When reading chunkMetadata, it is necessary to judge whether it is an empty value chunk, and when decomposing a chunk into a page, judge whether it is an empty value page.

      Attachments

        1. image-2023-04-27-12-13-45-643.png
          93 kB
          周沛辰
        2. image.png
          93 kB
          周沛辰

        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 - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified