ozone icon indicating copy to clipboard operation
ozone copied to clipboard

HDDS-5104. Prioritising SCM's in SCM HA setup

Open sadanand48 opened this issue 2 years ago • 1 comments

What changes were proposed in this pull request?

When an SCM is ready and tries to exit safemode, update the peer priority for that SCM in the Raft Ring. This will create an updateRaftPeerRequest and submit request to Ratis. Thereafter, if all SCM's are updated (with same raft log index) then preference for leadership will be given to the one with higher priority i.e to the one out of safe mode . This will make sure that SCM that is in safe mode will not be elected as leader.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-5104

How was this patch tested?

Unit tests

sadanand48 avatar Oct 17 '23 08:10 sadanand48

@sadanand48 Is this PR ready for review?

aswinshakil avatar Nov 06 '23 17:11 aswinshakil

/pending conflicts

adoroszlai avatar Dec 11 '24 19:12 adoroszlai

Thank you very much for the patch. I am closing this PR temporarily as there was no activity recently and it is waiting for response from its author.

It doesn't mean that this PR is not important or ignored: feel free to reopen the PR at any time.

It only means that attention of committers is not required. We prefer to keep the review queue clean. This ensures PRs in need of review are more visible, which results in faster feedback for all PRs.

If you need ANY help to finish this PR, please contact the community on the mailing list or the slack channel."

github-actions[bot] avatar Jan 02 '25 00:01 github-actions[bot]