sajjad-moradi commented on code in PR #9289: URL: https://github.com/apache/pinot/pull/9289#discussion_r957671202
########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java: ########## @@ -1074,6 +1077,15 @@ IdealState ensureAllPartitionsConsuming(TableConfig tableConfig, PartitionLevelS // Get the latest segment ZK metadata for each partition Map<Integer, SegmentZKMetadata> latestSegmentZKMetadataMap = getLatestSegmentZKMetadataMap(realtimeTableName); + Map<Integer, StreamPartitionMsgOffset> partitionGroupIdToStartOffset = new HashMap<>(); Review Comment: I'll add the comments. For the refactoring, I agree with you that this class is hard to read. It already has more than 1500 lines and it's worth refactoring, but the refactoring is outside the scope of this PR. -- 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