diff --git a/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java b/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java index df8e220145b..ab437eb7a60 100644 --- a/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java +++ b/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java @@ -627,6 +627,7 @@ public abstract class SeekableStreamIndexTaskRunner sequenceToCheckpoint = null; + AppenderatorDriverAddResult pushTriggeringAddResult = null; for (OrderedPartitionableRecord record : records) { final boolean shouldProcess = verifyRecordInRange(record.getPartitionId(), record.getSequenceNumber()); @@ -677,6 +678,7 @@ public abstract class SeekableStreamIndexTaskRunner nextCheckpointTime) { sequenceToCheckpoint = getLastSequenceMetadata(); + log.info("Next checkpoint time, updating sequenceToCheckpoint, SequenceToCheckpoint: [%s]", sequenceToCheckpoint); + } + if (pushTriggeringAddResult != null) { + log.info("Hit the row limit updating sequenceToCheckpoint, SequenceToCheckpoint: [%s], rowInSegment: [%s], TotalRows: [%s]", sequenceToCheckpoint, pushTriggeringAddResult.getNumRowsInSegment(), pushTriggeringAddResult.getTotalNumRowsInAppenderator()); } if (sequenceToCheckpoint != null && stillReading) {