-
Notifications
You must be signed in to change notification settings - Fork 78
Down replaced cluster members #867
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
Conversation
|
Also have a |
|
Whoa that's a nasty compiler crash there... Thank you for looking into this I will have a look! I suggest we focus on the 0.x branch with this fix as the |
|
Change looks good to me! I'll reproduce and play around a bit more tomorrow -- can you submit the PR to 0.x and let's leave main be for the time being? I'll forward port the patch later then 👍 |
2a1cd0b to
3da8349
Compare
|
Minor typo in the integration test :) |
|
Hmmm the integration test is not aggressive enough perhaps since it does not reproduce the issue but I think the fix looks |
|
Good catch, was making a few silly assumptions in the integ test. Think the typo you caught might've been contributing to why I was getting it to fail initially ;) Updated the test. Should fail deterministically without the fix. |
|
Great, reproduced the failure and confirmed the fix -- looking good, thank you a lot @budde ! I'll cut a release for this as well :) |
* Make sure replaced cluster members are .down * Add integration test for ungraceful shutdown * Remove dead code from integ test * Remove more dead code * Update MembershipTests for changed replacement semantics * remove whitespace that made it in * fix typo in test * Fix issues in integration test * Fix formatting Co-authored-by: Konrad `ktoso` Malawski <[email protected]>
* Make sure replaced cluster members are .down * Add integration test for ungraceful shutdown * Remove dead code from integ test * Remove more dead code * Update MembershipTests for changed replacement semantics * remove whitespace that made it in * fix typo in test * Fix issues in integration test * Fix formatting Co-authored-by: Konrad `ktoso` Malawski <[email protected]> Co-authored-by: Adam Budde <[email protected]>
Make sure a previous cluster member is marked as
.downbefore replacing itMotivation:
Modifications:
MemberChangethat replaces an existing node, mark the node as.downif it hasn't been alreadyResult: