smengcl commented on code in PR #11246:
URL: https://github.com/apache/ozone/pull/11246#discussion_r4033245008


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/OzoneContainer.java:
##########
@@ -147,7 +147,10 @@ public class OzoneContainer {
       recoveringContainerScrubbingService;
   private final GrpcTlsConfig tlsClientConfig;
   private DiskBalancerService diskBalancerService;
+  private final Object initializationLock = new Object();
+  // Guarded by initializationLock.
   private final AtomicReference<InitializingStatus> initializingStatus;

Review Comment:
   Yup good catch let me simplify that.



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