-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Panic in leader loop when stopping autopilot #2896
Labels
type/bug
Feature does not function as expected
type/crash
The issue description contains a golang panic and stack trace
Milestone
Comments
slackpad
added
type/bug
Feature does not function as expected
type/crash
The issue description contains a golang panic and stack trace
labels
Apr 12, 2017
Here is the proper traceback:
|
I think the root cause here is that |
slackpad
added a commit
that referenced
this issue
Apr 13, 2017
This fixes #2896 by switching to the `notifyCh` instead of the `leaderCh`, so we get all up/down events from Raft regarding leadership. We also wait for the old leader loop to shut down before we ever consider starting a new one, which keeps that single-threaded and fixes the panic in that issue.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
type/bug
Feature does not function as expected
type/crash
The issue description contains a golang panic and stack trace
As seen in https://twitter.com/sLoK69/status/852144938108301312.
The text was updated successfully, but these errors were encountered: