Jackie-Jiang commented on code in PR #15405: URL: https://github.com/apache/pinot/pull/15405#discussion_r2020030264
########## pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeTableDataManager.java: ########## @@ -477,7 +477,7 @@ protected void doAddOnlineSegment(String segmentName) _logger.info("Changing segment: {} from CONSUMING to ONLINE", segmentName); ((RealtimeSegmentDataManager) segmentDataManager).goOnlineFromConsuming(zkMetadata); onConsumingToOnline(segmentName); - } else if (zkMetadata.getStatus() == Status.DONE) { + } else if (zkMetadata.getStatus().isCompleted()) { Review Comment: This is a bugfix -- 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