-
Notifications
You must be signed in to change notification settings - Fork 1k
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
RegisterOnMemberUp() does not fire immediately if cluster already up #2442
Comments
Hmm. @Horusiath does the JVM work like this as well ? I would say this is an problem that needs to be solved in user space. By having the user check the cluster readview for this scenario, should it apply. |
It seems like an inconsistency with how |
Actually, I wonder if this is true... let me run an experiment real quick. |
…if the node is already up
@ayoung so it turns out that this isn't an issue, and the test I added in #2446 verifies it. TL;DR;, the reason for the different code in the |
If the cluster member is already up, calling
cluster.RegisterOnMemberUp(callback)
does not immediately call the callback.According to this code here
The text was updated successfully, but these errors were encountered: