bharatviswa504 commented on a change in pull request #769: HDDS-1456. Stop the datanode, when any datanode statemachine state is… URL: https://github.com/apache/hadoop/pull/769#discussion_r278391703
########## File path: hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/StateContext.java ########## @@ -73,6 +73,7 @@ private final Queue<ContainerAction> containerActions; private final Queue<PipelineAction> pipelineActions; private DatanodeStateMachine.DatanodeStates state; + private boolean shutdownStateMachine = false; Review comment: This additional check is added to do shutdown only when the state is changed to shutdown state by executing any of the datanode state tasks. ---------------------------------------------------------------- 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]
