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

Fix error in aligned empty value chunk in fast compaction

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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

                Agile

                  Active Sprint:
                  StorageEngine-Backlog ends 29/Aug/22
                  View on Board

                  Slack

                    Issue deployment