You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "MeihanLi (via GitHub)" <gi...@apache.org> on 2024/02/27 21:45:36 UTC

[I] [Adaptive Server Selector] support for strictReplicaGroup routing strategy [pinot]

MeihanLi opened a new issue, #12507:
URL: https://github.com/apache/pinot/issues/12507

   It seems currently Adaptive Server Selector is partially supported for strictReplicaGroup. But it breaks the assumption that by default, for strictReplicaGroup routing, brokers will route servers from 1 replica group only.
   
   I tested and figured out that for an upsert table with 2 replica groups, queries can be routed to servers from 2 replica groups depending on the server performance. 
   
   For example, a tenant has 4 servers, the table has 2 partitions, 2 replicas, 2 replica groups. For select count(*) query, it can pick serverA and serverD from 2 different RGs to serve the query. 
   
   ```
   RG assignment:
   RG 0: serverA, serverB
   RG 1: serverC, serverD
   ```
   
   ```
   segments are assigned as below:
   partition 0     serverA              serverC
   partition 1     serverB              serverD
   ```
   
   Are there any concerns on turning on adaptive server selector for strictReplicaGroup routing tables except that? Also I was wondering if anyone is looking into supporting numReplicaGroupsToQuery with Adaptive Server Selection. What's the plan on support it?


-- 
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-unsubscribe@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [I] [Adaptive Server Selector] support for strictReplicaGroup routing strategy [pinot]

Posted by "vvivekiyer (via GitHub)" <gi...@apache.org>.
vvivekiyer commented on issue #12507:
URL: https://github.com/apache/pinot/issues/12507#issuecomment-1969494992

   AdaptiveServerSelection is not support for strictReplicaGroup. 
   It's only supported in balanced and ReplicaGroup. 
   
   The current solution ranks servers and picks the best set of servers. For strictReplicaGroup, we might need a solution that ranks replicaGroups before picking the best one. 


-- 
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-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [I] [Adaptive Server Selector] support for strictReplicaGroup routing strategy [pinot]

Posted by "MeihanLi (via GitHub)" <gi...@apache.org>.
MeihanLi commented on issue #12507:
URL: https://github.com/apache/pinot/issues/12507#issuecomment-1967665054

   cc: @vvivekiyer @ankitsultana 


-- 
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-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [I] [Adaptive Server Selector] support for strictReplicaGroup routing strategy [pinot]

Posted by "ankitsultana (via GitHub)" <gi...@apache.org>.
ankitsultana commented on issue #12507:
URL: https://github.com/apache/pinot/issues/12507#issuecomment-1969859207

   @vvivekiyer if one enables adaptive server selector on a broker that serves Upsert tables, what would happen? Would it lead to incorrect results?


-- 
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-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org