devabhishekpal opened a new pull request, #7238: URL: https://github.com/apache/ozone/pull/7238
## What changes were proposed in this pull request? HDDS 11472. Return single instance of Access Authorizer for OM Please describe your PR in detail: * Currently when we instantiate OM we request an instance of AccessAuthorizer from OzoneAuthorizerFactory * This may cause previous instances of AccessAuthorizer to not be cleared on subsequent calls. * As a part of this PR we are checking if an instance of AccessAuthorizer is already present in the Factory and returning that, else we initialize with new value * This will ensure we do not un-necessarily create new authorizer objects. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-11472 ## How was this patch tested? Patch was tested via Unit tests -- 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]
