You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/12/07 03:31:26 UTC

[GitHub] [incubator-doris] tinkerrrr commented on a change in pull request #7282: add min_table_replication_num config

tinkerrrr commented on a change in pull request #7282:
URL: https://github.com/apache/incubator-doris/pull/7282#discussion_r763601608



##########
File path: fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
##########
@@ -3731,6 +3731,10 @@ private void createOlapTable(Database db, CreateTableStmt stmt) throws UserExcep
         if (replicaAlloc.isNotSet()) {
             replicaAlloc = ReplicaAllocation.DEFAULT_ALLOCATION;
         }
+        if (replicaAlloc.getTotalReplicaNum() < Config.min_table_replication_num) {

Review comment:
       done




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

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



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