luoluoyuyu commented on code in PR #15295:
URL: https://github.com/apache/iotdb/pull/15295#discussion_r2052110122
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tablet/PipeRawTabletInsertionEvent.java:
##########
@@ -104,6 +104,17 @@ private PipeRawTabletInsertionEvent(
this.isAligned = isAligned;
this.sourceEvent = sourceEvent;
this.needToReport = needToReport;
+ if (Objects.nonNull(sourceEvent)) {
+ this.committerKey = sourceEvent.getCommitterKey();
+ this.commitId = sourceEvent.getCommitId();
+ sourceEvent.incrementSourceReferenceCount();
Review Comment:
I think the count specification needs to be ensured here. It is not a good
idea to use a count of 0 as a judgment condition in needReport.
--
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]