whbing opened a new pull request, #5186:
URL: https://github.com/apache/ozone/pull/5186

   ## What changes were proposed in this pull request?
   
   The default value in `QuotaRepairUpgradeAction` class is not the same in 
`ozone-site.xml`, which is confusing. 
   In fact, `QuotaRepairTask` will be very time consuming during upgrading om, 
the time taken is as follows:
   
   ```java
   // test 1
   2023-07-05 16:15:36,432 [pool-37-thread-1] INFO 
org.apache.hadoop.ozone.om.service.QuotaRepairTask: Recalculate Key usages 
completed, count 259337075 time 1873737ms
   // test 2
   2023-08-13 17:35:45,622 [pool-37-thread-2] INFO 
org.apache.hadoop.ozone.om.service.QuotaRepairTask: Recalculate File usages 
completed, count 19752234 time 440393ms
   ```
   
   I prefer that `ozone.om.upgrade.quota.recalculate.enabled` default to false.
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9166
   
   ## How was this patch tested?
   
   
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to