luoluoyuyu commented on code in PR #15295:
URL: https://github.com/apache/iotdb/pull/15295#discussion_r2062849540
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tablet/PipeRawTabletInsertionEvent.java:
##########
@@ -310,6 +321,7 @@ public boolean mayEventPathsOverlappedWithPattern() {
public void markAsNeedToReport() {
this.needToReport = true;
+ sourceEvent.decrementAndGetSourceReferenceCount();
Review Comment:
What happens if the Processor calls ``markAsNeedToReport`` and the Sink also
calls ``markAsNeedToReport``? I think this cannot be left to the user to
understand.
--
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]