-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDDS-1456. Stop the datanode, when any datanode statemachine state is… #769
Conversation
… set to shutdown.
💔 -1 overall
This message was automatically generated. |
...ervice/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/StateContext.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/apache/hadoop/ozone/container/common/statemachine/DatanodeStateMachine.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/apache/hadoop/ozone/container/common/statemachine/DatanodeStateMachine.java
Show resolved
Hide resolved
Thank You @arp7 for the review and offline discussion. |
@@ -141,6 +143,9 @@ HddsVolumeChecker getVolumeChecker(Configuration configuration) | |||
return new DummyChecker(configuration, new Timer(), numVolumes); | |||
} | |||
}; | |||
|
|||
assertEquals(volumeSet.getFailedVolumesList().size(), numVolumes); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is updated like this due to code reordering. As we are calling checkAllVolumes() when only volumeMap size is not zero.
+1 |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
… set to shutdown.