sadanand48 commented on code in PR #5709:
URL: https://github.com/apache/ozone/pull/5709#discussion_r1413434605


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -2260,6 +2259,7 @@ public boolean stop() {
       if (omhaMetrics != null) {
         OMHAMetrics.unRegister();
       }
+      omRatisServer = null;

Review Comment:
   Why is this change needed? Doesn't look like omRatisServer is used anywhere 
above but assuming this is done for safety in future, can we set to null only 
if it is non-null like other variables in the method.
   



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