fapifta commented on a change in pull request #1611:
URL: https://github.com/apache/ozone/pull/1611#discussion_r530601743
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/node/NodeStateManager.java
##########
@@ -289,7 +292,7 @@ private void initialiseState2EventMap() {
*/
private void initializeStateMachine() {
stateMachine.addTransition(
- NodeState.HEALTHY_READONLY, NodeState.HEALTHY,
+ NodeState.HEALTHY_READONLY, HEALTHY,
NodeLifeCycleEvent.LAYOUT_MATCH);
Review comment:
Nit: as we statically import HEALTHY_READONLY, we can leave out the
qualification of NodeState here, as we do in forceNodesToHealthyReadOnly
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]