noob-se7en commented on code in PR #15419: URL: https://github.com/apache/pinot/pull/15419#discussion_r2037826719
########## pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java: ########## @@ -747,6 +747,14 @@ public void run() { _segmentLogger.info("Acquired consumer semaphore."); + // Refresh segment end criteria time. This is to avoid scenarios where consumer waits a longer period of time + // before acquiring semaphore. These scenarios can lead to creation of small segments because segment + // consumption is terminated early. + _consumeStartTime = now(); + setConsumeEndTime(_segmentZKMetadata, _consumeStartTime); Review Comment: removed -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org