Pengzna commented on code in PR #14938:
URL: https://github.com/apache/iotdb/pull/14938#discussion_r1980627666
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java:
##########
@@ -458,6 +458,10 @@ private TsFileResource constructTsFileResource(
tsFileResource.updatePlanIndexes(reader.getMaxPlanIndex());
} else {
tsFileResource.deserialize();
+ // Clean up tsfileResource's isGeneratedByPipe mark to prevent
deserializing the wrong mark.
+ // If this tsfile is loaded by a pipe receiver, the correct mark will be
added in
+ // `listenToTsFile`
+ tsFileResource.setGeneratedByPipe(false);
Review Comment:
great point, fixed
--
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]