shuwenwei commented on code in PR #11046:
URL: https://github.com/apache/iotdb/pull/11046#discussion_r1319316745
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/executor/fast/element/PageElement.java:
##########
@@ -95,20 +103,84 @@ public PageElement(
this.pageData = timePageData;
this.valuePageDatas = valuePageDatas;
this.priority = priority;
- this.iChunkReader = alignedChunkReader;
this.startTime = pageHeader.getStartTime();
this.chunkMetadataElement = chunkMetadataElement;
this.isLastPage = isLastPage;
this.needForceDecoding = chunkMetadataElement.needForceDecoding;
}
public void deserializePage() throws IOException {
- if (iChunkReader instanceof AlignedChunkReader) {
- this.pointReader =
- ((AlignedChunkReader) iChunkReader)
- .getPagePointReader(pageHeader, valuePageHeaders, pageData,
valuePageDatas);
+ if (this.iChunkReader == null) {
Review Comment:
The variable 'iChunkReader' was not set during construction when the series
of this PageElement is aligned.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]