morningman commented on a change in pull request #548: Skip balance when 
colocate group is balancing
URL: https://github.com/apache/incubator-doris/pull/548#discussion_r248553440
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java
 ##########
 @@ -4033,6 +4033,8 @@ private void createTablets(String clusterName, 
MaterializedIndex index, ReplicaS
                     Replica replica = new Replica(replicaId, backendId, 
replicaState, version, versionHash);
                     tablet.addReplica(replica);
                 }
+
+                Preconditions.checkState(chosenBackendIds.size() == 
replicationNum);
 
 Review comment:
   ```suggestion
                   Preconditions.checkState(chosenBackendIds.size() == 
replicationNum, chosenBackendIds.size() + " vs. "+ replicationNum);
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to