guihecheng opened a new pull request #2475: URL: https://github.com/apache/ozone/pull/2475
## What changes were proposed in this pull request? Duplicate metrics registered while running checkScmHA upon scm startup. More details in the jira below. Here we reuse the LayoutManager instance from scm when scm is running, and create a LayoutManager instance in scmInit() which should be in a single cmd line run, so no duplicate happens. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-5516 ## How was this patch tested? manual test. -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org