Skip to content

Commit c3baa7a

Browse files
authored
Subscription: fix hasNext method in tablet batch to support multiple tsfile in the same batch (#14715)
1 parent 44e9725 commit c3baa7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/event/batch/SubscriptionPipeTabletEventBatch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public boolean hasNext() {
216216
// reset
217217
currentTabletInsertionEventsIterator = null;
218218
currentTsFileInsertionEvent = null;
219-
return false;
219+
return hasNext();
220220
}
221221
}
222222

0 commit comments

Comments
 (0)