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

Don't leave the cluster during joining flow when double join is attempted #1504

Open
TheMMaciek opened this issue Feb 9, 2021 · 0 comments
Assignees

Comments

@TheMMaciek
Copy link
Contributor

Currently when a node is attempting a double join - the error is thrown that a double join was attempted. Every error in the joining flow is handled with an automatic leave from the cluster. So in case a user executes the joining flow for the second time the node leaves the cluster, which in case someone executes the joining endpoint by mistake can be annoying.

So the double join error during joining flow should be handled differently than other errors.
We need a distinguishable case class representing this error instead of a generic Throwable and then we need to handle this special case with logging only.

@TheMMaciek TheMMaciek self-assigned this Mar 4, 2021
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

No branches or pull requests

1 participant