Jackie-Jiang commented on code in PR #15347: URL: https://github.com/apache/pinot/pull/15347#discussion_r2012557652
########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java: ########## @@ -1170,14 +1178,15 @@ public void ensureAllPartitionsConsuming(TableConfig tableConfig, List<StreamCon boolean offsetsHaveToChange = offsetCriteria != null; if (isTableEnabled && !isTablePaused) { List<PartitionGroupConsumptionStatus> currentPartitionGroupConsumptionStatusList = - offsetsHaveToChange - ? Collections.emptyList() // offsets from metadata are not valid anymore; fetch for all partitions + offsetsHaveToChange ? Collections.emptyList() + // offsets from metadata are not valid anymore; fetch for all partitions : getPartitionGroupConsumptionStatusList(idealState, streamConfigs); // FIXME: Right now, we assume topics are sharing same offset criteria OffsetCriteria originalOffsetCriteria = streamConfigs.get(0).getOffsetCriteria(); Review Comment: We need all configs in other method, so it is better to just read all configs once -- 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