KKcorps commented on code in PR #15347:
URL: https://github.com/apache/pinot/pull/15347#discussion_r2011868746
##########
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:
can use getFirstStreamConfigMap method here as well
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]