bharatviswa504 commented on a change in pull request #948: HDDS-1649. On
installSnapshot notification from OM leader, download checkpoint and reload OM
state
URL: https://github.com/apache/hadoop/pull/948#discussion_r305019890
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java
##########
@@ -190,6 +197,27 @@ public TransactionContext startTransaction(
}
}
+ @Override
+ public void pause() {
+ lifeCycle.transition(LifeCycle.State.PAUSING);
Review comment:
We have set the lifeCycle State here, but I don't see how this will pause
stateMachine.
As this state is not being used anywhere else except during initliaze and
unpause.
----------------------------------------------------------------
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]