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

Continue adding node even if checks fail #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

freyacodes
Copy link
Contributor

@freyacodes freyacodes commented Oct 17, 2023

Perhaps you have a more elaborate strategy in mind. This is enough to do the trick for me at least.

@freyacodes
Copy link
Contributor Author

freyacodes commented Oct 17, 2023

Fixes #32

@DRSchlaubi
Copy link
Member

I am not sure whether this is the right call, since the version check should stop connecting to the node, maybe we can move it to after the ws connect, however that wouldn't be ideal either. Maybe add a config flag for it?

@freyacodes
Copy link
Contributor Author

It didn't occur to me it throws an exception on purpose. What you could do is apply the same retry strategy to the version check

I think you should also put some thought into what happens if a node is rejected. Currently if a node is rejected, it just seems to linger in an inactive state in the AbstractLavakord instance.

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