-
Notifications
You must be signed in to change notification settings - Fork 83
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
Leader election using locks #649
Conversation
34ee0e6
to
897efae
Compare
9a7b7d8
to
fb81a21
Compare
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.
Looking great! Excited to see where this is going 😄
I think the tests not running in CI is the biggest blocker, most of the comments are me trying to understand stuff 😬
3663302
to
443a376
Compare
9f95138
to
f370a91
Compare
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.
Looking good and most of my comments are around UX and style, so we can catch in Slack if that's easier than GitHub :D
It would also be nice to add some tests to cover the new config parsing addition.
… data race condition on testing
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
fa03aa9
to
369b7af
Compare
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.
Approving, with a final few questions.
…nd 30 s respectively
Add mechanism to run on high availability by using a lock to maintain the synchrony among instances. Currently is a free standing package that depends on the future implementation of the lock CLI on nomad.
It is still pending on exposing some metrics and error handling
For more information, refer to the RFC: [NMD-179] Leader election using locking mechanism for the Autoscaler