Skip to content

Conversation

@bharatviswa504
Copy link
Contributor

…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.

@bharatviswa504 bharatviswa504 changed the title HDDS-5233. SCM subsequent init failed when previous scm start/init failed. HDDS-5233. SCM subsequent init failed when previous scm init failed. May 17, 2021
Copy link
Contributor

@bshashikant bshashikant left a 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.

@bharatviswa504
Copy link
Contributor Author

@bharatviswa504 , can you also fix the SCM stateMachine registry code as well to ensure SCMStateMachine instance is not shared across multiple raftServerImpl instances.

Updated code to fix this.

@bharatviswa504 bharatviswa504 merged commit 70ef475 into apache:master May 21, 2021
@bharatviswa504
Copy link
Contributor Author

Thank You @bshashikant and @GlenGeng for the review

bharatviswa504 added a commit to bharatviswa504/hadoop-ozone that referenced this pull request Jul 25, 2021
…pache#2249)

(cherry picked from commit 70ef475)
Change-Id: Id6b4474deb0ae048006cb6a319ee410ef215d148
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants