yashmayya commented on PR #15203:
URL: https://github.com/apache/pinot/pull/15203#issuecomment-2970434756

   > useFixedReplica is not a good idea
   
   I'm not sure where `useFixedReplica` came into the picture here. What I 
meant was that if you want to actually use "preferred replica groups" and not 
preferred instance pools, you could take a look at 
[MultiStageReplicaGroupSelector](https://github.com/apache/pinot/blob/6e8e3d2984d8853b85f48552bda4fe3348cf91aa/pinot-broker/src/main/java/org/apache/pinot/broker/routing/instanceselector/MultiStageReplicaGroupSelector.java#L57)
 to see how it's fetching the replica group ID for an instance from the table's 
`INSTANCE_PARTITIONS` in ZK.
   
   > Let say a replica group is distributed among multiple pools
   
   A replica group for a table in Pinot can't be distributed among multiple 
pools, it can only belong to a single instance pool. The other way around is 
possible though - an instance pool can have more than one replica group 
assigned to it (even for a single table).


-- 
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

Reply via email to