You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/02/02 09:07:49 UTC

[GitHub] [pinot] siddharthteotia edited a comment on issue #8090: Partitioned replica group assignment fails if "numReplicaGroups": 1

siddharthteotia edited a comment on issue #8090:
URL: https://github.com/apache/pinot/issues/8090#issuecomment-1027723877


   `numReplicaGroups` as 1 in `replicaGroupPartitionConfig` is treated as non-replica group based assignment. The concept of `numPartitions` and `numInstancesPerPartition` is only applicable to replica group based instance assignment.
   
   We can consider fixing this -- will have to discuss the semantics of interpreting numReplicaGroups in a couple of places in the code. When assigning instances in replica group based manner at the time of table creation, we don't check numReplicaGroups=1 and proceed with replica group based instance assignment. Ideally we should have failed here itself. Instead we proceed to assign instances to a single replica group. 
   
   However, at the time of table rebalance we interpret numReplicaGroups=1 as non-replica group based and throw error if numPartitions is != 1
   
   For now if you really want to create a replica group based table with a single replica group, you can use the legacy way of specifying replica group assignment strategy in the table config


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