Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
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.