morningman commented on a change in pull request #3283: Support setting replica quota in db level URL: https://github.com/apache/incubator-doris/pull/3283#discussion_r406237031
########## File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java ########## @@ -2835,7 +2845,7 @@ public void renameDatabase(AlterDatabaseRename stmt) throws DdlException { fullNameToDb.remove(fullDbName); fullNameToDb.put(newFullDbName, db); - DatabaseInfo dbInfo = new DatabaseInfo(fullDbName, newFullDbName, -1L); + DatabaseInfo dbInfo = new DatabaseInfo(fullDbName, newFullDbName, -1L, QuotaType.DATA); Review comment: How about change `QuotaType.DATA` to `null`? For better understanding? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org