nandakumar131 opened a new pull request, #8390: URL: https://github.com/apache/ozone/pull/8390
## What changes were proposed in this pull request? This PR aims to clean-up and refactor SCMSafeModeManager. Changes made: * Removed `EventQueue` argument from methods that were not using it. * Removed all the SafeMode Rule Names declared in SCMSafeModeManager. (Rule Names are moved to respective Rule definition in HDDS-11798) * Removed methods that were added only for unit testing. * Introduced static method to create `SafeModeStatus` instances * Added metric to show `hdds. scm. safemode. enabled` value * Javadoc cleanup ## What is the link to the Apache JIRA HDDS-12949 ## How was this patch tested? CI Run: <<TO ADD>> -- 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