-
Notifications
You must be signed in to change notification settings - Fork 594
HDDS-5233. SCM subsequent init failed when previous scm init failed. #2249
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
bshashikant
left a comment
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.
@bharatviswa504 , can you also fix the SCM stateMachine registry code as well to ensure SCMStateMachine instance is not shared across multiple raftServerImpl instances.
...hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
Outdated
Show resolved
Hide resolved
...hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
Outdated
Show resolved
Hide resolved
...hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
Outdated
Show resolved
Hide resolved
Updated code to fix this. |
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMStateMachine.java
Outdated
Show resolved
Hide resolved
|
Thank You @bshashikant and @GlenGeng for the review |
…pache#2249) (cherry picked from commit 70ef475) Change-Id: Id6b4474deb0ae048006cb6a319ee410ef215d148
…iled.
What changes were proposed in this pull request?
Initialize version file before and then perform Ratis Server initialize. In this way, we shall use the same groupID in failure scenarios.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5233
How was this patch tested?
Existing CI.