Skip to content
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

feat: Meta HA fencing mechanism #6786

Closed
Tracked by #5943
CAJan93 opened this issue Dec 7, 2022 · 0 comments
Closed
Tracked by #5943

feat: Meta HA fencing mechanism #6786

CAJan93 opened this issue Dec 7, 2022 · 0 comments
Assignees

Comments

@CAJan93
Copy link
Contributor

CAJan93 commented Dec 7, 2022

Is your feature request related to a problem? Please describe.

A leader which looses its leader role should panic. This it to avoid a split-brain situation with 2 leaders.

When standby node becomes leader, it should wait for a lease expire interval ( at least keep lease successfully once) and then start to serve, which will ensure the leader have noticed the changes and gone. Thank you @yezizp2012 for the suggestion.

Also refactor MetaSrvEnv (see comment).

@github-actions github-actions bot added this to the release-0.1.15 milestone Dec 7, 2022
@CAJan93 CAJan93 changed the title Meta HA fencing mechanism feat: Meta HA fencing mechanism Dec 7, 2022
mergify bot pushed a commit that referenced this issue Dec 29, 2022
#6786

Please only merge this after #6937 is merged

Approved-By: yezizp2012
@CAJan93 CAJan93 closed this as completed Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants