yujun777 commented on code in PR #25195: URL: https://github.com/apache/doris/pull/25195#discussion_r1357604258
########## fe/fe-core/src/main/java/org/apache/doris/catalog/Database.java: ########## @@ -858,33 +859,35 @@ public Map<Long, TableIf> getIdToTable() { public void replayUpdateDbProperties(Map<String, String> properties) { dbProperties.updateProperties(properties); - binlogConfig = dbProperties.getBinlogConfig(); + if (PropertyAnalyzer.hasBinlogConfig(properties)) { + binlogConfig = dbProperties.getBinlogConfig(); + } } public boolean updateDbProperties(Map<String, String> properties) throws DdlException { Review Comment: when init and update db property replica alloc, better to check the system has enough backends ? -- 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