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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to