Jackie-Jiang opened a new pull request #4533: [Instance Assignment] De-couple assignment strategy from SegmentAssignment URL: https://github.com/apache/incubator-pinot/pull/4533 For REALTIME segments, we should be able to assign CONSUMING and COMPLETED segments with different strategies, i.e. one could follows replica-group while the other follows balance-number. In order to do so, we need to de-couple the assignment strategy from the segment assignment, so each assignment can use different strategies if necessary. - Change SegmentAssignmentStrategy interface to SegmentAssignment - Add OfflineSegmentAssignment and RealtimeSegmentAssignment - Use InstancePartitions to determine the strategy to use - For REALTIME table, support different strategies for CONSUMING and COMPLETED segments
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org