sumitagrawl opened a new pull request, #5709:
URL: https://github.com/apache/ozone/pull/5709

   ## What changes were proposed in this pull request?
   
   while stopping OM, mbean is access to get ratis role, and the omRatisServer 
is set null after stopping server. As fix, omRatisServer is set at end to avoid 
if used other place, and added a null check.
   
   This is not have much impact as other failure may happen if ratis server is 
stopped and accessed. Just avoiding NPE here.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9816
   
   ## How was this patch tested?
   
   NA


-- 
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]

Reply via email to