924060929 commented on code in PR #31820: URL: https://github.com/apache/doris/pull/31820#discussion_r1514598344
########## fe/fe-core/src/main/java/org/apache/doris/catalog/InternalSchemaInitializer.java: ########## @@ -92,8 +92,9 @@ public void run() { @VisibleForTesting public static void modifyTblReplicaCount(Database database, String tblName) { - if (!(Config.min_replication_num_per_tablet < StatisticConstants.STATISTIC_INTERNAL_TABLE_REPLICA_NUM - && Config.max_replication_num_per_tablet >= StatisticConstants.STATISTIC_INTERNAL_TABLE_REPLICA_NUM)) { + if (Config.isCloudMode() + || Config.min_replication_num_per_tablet >= StatisticConstants.STATISTIC_INTERNAL_TABLE_REPLICA_NUM + || Config.max_replication_num_per_tablet < StatisticConstants.STATISTIC_INTERNAL_TABLE_REPLICA_NUM) { Review Comment: This modification looks like wrong -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org