-
Couldn't load subscription status.
- Fork 9.1k
HDDS-2210. ContainerStateMachine should not be marked unhealthy if ap… #1552
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
Conversation
…plyTransaction fails with closed container exception.
| // container happens outside of Ratis. | ||
| IOUtils.write(builder.build().toByteArray(), out); | ||
| } | ||
|
|
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.
whitespace:end of line
|
💔 -1 overall
This message was automatically generated. |
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.
Thanks for working on this @bshashikant, the patch looks good to me. Can you please take care of some of the minor checkstyle issues ?
| // stateMachine is healthy i.e, there has been no applyTransaction | ||
| // failures before. | ||
| if (isStateMachineHealthy.get()) { | ||
| if (stateMachineHealthy.get()) { |
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.
lets replace this with isStateMachineHealthy
| // container happens outside of Ratis. | ||
| IOUtils.write(builder.build().toByteArray(), out); | ||
| } | ||
|
|
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.
whitespace:end of line
|
💔 -1 overall
This message was automatically generated. |
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.
+1, the patch looks good to me.
|
💔 -1 overall
This message was automatically generated. |
…plyTransaction fails with closed container exception(apache#1552).
…plyTransaction fails with closed container exception(apache#1552).
…plyTransaction fails with closed container exception(apache#1552).
…plyTransaction fails with closed container exception.
NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute