noob-se7en commented on code in PR #15419: URL: https://github.com/apache/pinot/pull/15419#discussion_r2038128855
########## pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java: ########## @@ -1722,16 +1726,13 @@ public RealtimeSegmentDataManager(SegmentZKMetadata segmentZKMetadata, TableConf _state = State.INITIAL_CONSUMING; _latestStreamOffsetAtStartupTime = fetchLatestStreamOffset(5000); _consumeStartTime = now(); - setConsumeEndTime(segmentZKMetadata, _consumeStartTime); + setConsumeEndTime(segmentZKMetadata, now()); Review Comment: Actually `_consumeStartTime ` should not be initiliased in contructor. -- 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