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

Do not reuse a consul lock #4353

Merged
merged 3 commits into from
Dec 8, 2018

Conversation

rafael
Copy link
Member

@rafael rafael commented Nov 8, 2018

  • When you lose a consul lock, you can't reuse that lock. Existent code does not
    does that and if a vtctld master loses a lock, it gets stuck in a state
    where it can't never recover and you'll need to restart the process.

Signed-off-by: Rafael Chacon rafael@slack-corp.com

* When you lose a consul lock, you can't reuse that lock. Existent code does not
  does that and should a vtctld master lose a lock, it gets stuck in a state
  where it can't never use that lock again and you will need to restart the
  process.

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
@rafael rafael requested a review from demmer November 8, 2018 17:00
@rafael rafael changed the title Do not reuse a consul lock WIP: Do not reuse a consul lock Nov 9, 2018
@rafael
Copy link
Member Author

rafael commented Nov 9, 2018

This is not ready for review yet. Still need to understand some more details about consul client API.

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
@rafael rafael requested a review from sougou as a code owner December 7, 2018 22:54
@rafael rafael changed the title WIP: Do not reuse a consul lock Do not reuse a consul lock Dec 7, 2018
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
@demmer demmer merged commit 8e64c77 into vitessio:master Dec 8, 2018
systay pushed a commit that referenced this pull request Jul 22, 2024
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.

2 participants