yuanbenson commented on code in PR #9309: URL: https://github.com/apache/pinot/pull/9309#discussion_r964211022
########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/assignment/segment/OfflineSegmentAssignment.java: ########## @@ -44,6 +40,13 @@ */ public class OfflineSegmentAssignment extends BaseSegmentAssignment { Review Comment: (nit), while it may not make sense for `RealtimeSegmentAssignment`, for `OfflineSegmentAssignment`, we can consider making `InstancePartitionsType.OFFLINE` an instance variable as it is referenced 9 times in this class. -- 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