guohao-rosicky commented on PR #6682: URL: https://github.com/apache/ozone/pull/6682#issuecomment-2127042051
The volume table and bucket table use FullTableCache, CountEstimatedRowsInTable is actually the exact number of rows in the table. Let's keep it synchronized. ``` Metrics.setNumVolumes(metadataManager.countEstimatedRowsInTable(metadataManager.getvolumeTable())); Metrics.setNumBuckets(metadataManager.countEstimatedRowsInTable(metadataManager.getBucketTable())); ``` -- 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]
