Copilot commented on code in PR #15598:
URL: https://github.com/apache/iotdb/pull/15598#discussion_r2113054100
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/event/batch/SubscriptionPipeTsFileEventBatch.java:
##########
@@ -58,12 +58,22 @@ public SubscriptionPipeTsFileEventBatch(
@Override
public synchronized void ack() {
batch.decreaseEventsReferenceCount(this.getClass().getName(), true);
+ enrichedEvents.stream()
Review Comment:
Consider adding an inline comment clarifying why only tsfile events are
filtered for reference count decrease in ack(), emphasizing that tablet events
are handled separately.
--
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]