avijayanhwx commented on a change in pull request #788: HDDS-1475 : Fix 
OzoneContainer start method.
URL: https://github.com/apache/hadoop/pull/788#discussion_r280894595
 
 

 ##########
 File path: 
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/XceiverServerGrpc.java
 ##########
 @@ -69,6 +69,7 @@
   private UUID id;
   private Server server;
   private final ContainerDispatcher storageContainer;
+  private volatile boolean isStarted;
 
 Review comment:
   I thought this will be multi-threaded. Given this is single threaded, 
volatile is not needed. I will remove it.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to