noob-se7en commented on code in PR #16071: URL: https://github.com/apache/pinot/pull/16071#discussion_r2175768229
########## pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java: ########## @@ -1472,9 +1472,10 @@ public void goOnlineFromConsuming(SegmentZKMetadata segmentZKMetadata) } else if (_currentOffset.compareTo(endOffset) == 0) { _segmentLogger .info("Current offset {} matches offset in zk {}. Replacing segment", _currentOffset, endOffset); - boolean replaced = buildSegmentAndReplace(); Review Comment: It happened in the integration test due to injection of failure during commit - RealtimeSegmentDataManager failed to build but StateLessRealtimeSegmentDataManager succeeded to build. In this segment is present in deep store but server is unable to load the segment and move forward. -- 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