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 2019/05/09 00:49:02 UTC
[GitHub] [incubator-pinot] npawar commented on a change in pull request
#4193: Creation/deletion flow for replica groups sets in realtime
npawar commented on a change in pull request #4193: Creation/deletion flow for replica groups sets in realtime
URL: https://github.com/apache/incubator-pinot/pull/4193#discussion_r282305619
##########
File path: pinot-common/src/main/java/org/apache/pinot/common/partition/ReplicaGroupPartitionAssignmentGenerator.java
##########
@@ -99,7 +103,11 @@ public ReplicaGroupPartitionAssignment buildReplicaGroupPartitionAssignment(Stri
numColumnPartitions =
tableConfig.getIndexingConfig().getSegmentPartitionConfig().getNumPartitions(partitionColumn);
}
- int numReplicas = tableConfig.getValidationConfig().getReplicationNumber();
+
+ TableType tableType = tableConfig.getTableType();
+ int numReplicas =
Review comment:
Tried to pull the code into a common Utils.
Fixed such that this code will not be run in HLC case.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org