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
Error during unicast discovery between 1.3.4 and 1.4.0.Beta1 #8051
Comments
I should add that the 1.4 instance discovers the 1.3.4-node using a separate
The part where it uses |
I'm also unsure of whether I'm reading this commit message correctly: d2fea53 .. should I take it to mean that I have to specify the lower bound during the |
are you actual having problems with your cluster of is it only that you see this errors showing up? I think this error comes from the backwards layer we have in 1.4 that can't tell what version it's pinging on the first contact so it goes and tries the new (1.4 and above) and the old endpoint (1.3.4 and below). If the new endpoint is causing an error it falls back to the old for backwards compatibility. It might be just this initial probe you are seeing? |
The end result here was that the 1.4-instance did not join the cluster, but instead elected itself as master after what looked like three retries:
|
@bleskes what I'm attempting is a simple cluster upgrade, adding a 1.4.0.Beta1 instance to a cluster consisting of a single instance running 1.3.4. They discover each-other via a custom The 1.3.4 instance only has the following to say (discovery is logged down to the trace level):
While the 1.4.0.Beta1-instance logs the following three times before forming its own cluster (which is permitted since minimum_master_nodes: 1 for both instances -- but shouldn't really be happening)
The zookeeper plugin handles the |
If I simply change the
and the following from the 1.4.0.Beta1-instance:
The notable difference being that there were no exceptions logged when instantiating the Does this possibly mean that there might be an issue with providing |
oh I see - sorry for the confusion about the BackwardsCompatibility endpoint. @nkvoll for the case when you don't know the discovery nodes version you can just use |
Ok @s1monw, I'll verify that it works for us either this weekend, or at latest, on Monday. Since we have a workaround already, I'm fine with closing this issue now if you wish to do so, and I leave it entirely up to you whether this behaviour needs to be noted somewhere else as a help for other developers that have latched onto the Thanks for the feedback and for letting me know about the |
I will add some javadocs to the ctors to clarify! Thanks for raising this issue |
Today it's easy to use the wrong version when initializing DiscoveryNode instances. This commit adds javadocs and a utility constant to initialize DiscoveryNode instances if the the remotes node version is unknown. Closes elastic#8051
Today it's easy to use the wrong version when initializing DiscoveryNode instances. This commit adds javadocs and a utility constant to initialize DiscoveryNode instances if the the remotes node version is unknown. Closes #8051
Today it's easy to use the wrong version when initializing DiscoveryNode instances. This commit adds javadocs and a utility constant to initialize DiscoveryNode instances if the the remotes node version is unknown. Closes #8051
Today it's easy to use the wrong version when initializing DiscoveryNode instances. This commit adds javadocs and a utility constant to initialize DiscoveryNode instances if the the remotes node version is unknown. Closes elastic#8051
I ran into this issue where a freshly 1.4.0.Beta.1 instance would not be able to ping (or receive pings?) from a 1.3.4-instance, and found the following in the 1.4 instance log:
Is there something obvious I have missed/done wrong? The action name seems pretty odd.
The text was updated successfully, but these errors were encountered: