smengcl opened a new pull request, #10301: URL: https://github.com/apache/ozone/pull/10301
## What changes were proposed in this pull request? Disable RocksDB metrics registration for defrag-created checkpoint DBs. For stack trace, see JIRA description. DB metrics should not have been enabled for defrag DBs in the first place. And previously it had been disabled for snapshot DBs in [HDDS-12193](https://issues.apache.org/jira/browse/HDDS-12193) (https://github.com/apache/ozone/commit/ad0debf5e1b) by default. Similar measure needs to be taken for defrag DBs as well. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15314 ## How was this patch tested? - Added unit test to verify metrics are disabled on defrag DB -- 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]
