-
Notifications
You must be signed in to change notification settings - Fork 25.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
[8.x] Add deprecation warning to TransportHandshaker (#123188) #123627
Conversation
This PR adds a deprecation warning log to the TransportHandshaker when connecting with nodes < v8.18.
I think the situation in 8.19 is a little different - after upgrading to 8.19 you can't go to 9.0, only 9.1, and 9.1 will reject connections from 8.18-and-earlier. I've removed the auto-merge label here while we address that. |
will not be supported from version 9.1.0 onwards. You must upgrade all your clusters to version 8.19.0 or later | ||
before upgrading any of your clusters to 9.1.0 or later. | ||
impact: > | ||
Upgrade all of your clusters to at least 8.19.0 before upgrading any of them to 9.1.0 or later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the release notes to reference 8.19 and 9.1
@@ -171,6 +176,7 @@ final class TransportHandshaker { | |||
); | |||
|
|||
static final String HANDSHAKE_ACTION_NAME = "internal:tcp/handshake"; | |||
static final TransportVersion V8_19_FIRST_VERSION = TransportVersions.INITIAL_ELASTICSEARCH_8_19; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double checking, Is this the first TV on 8.19?
) { | ||
return Strings.format( | ||
"Performed a handshake with a remote node with version [%s/%s] received on [%s] which " | ||
+ "will be incompatible after this node on version [%s/%s] is upgraded to >= 9.1.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this from 9.x.
to >= 9.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
communication within a cluster and communication across clusters (e.g. for <<modules-cross-cluster-search,{ccs}>> or | ||
<<xpack-ccr,{ccr}>>). | ||
|
||
{es} will report in its <<deprecation-logging, deprecation logging>> each time it opens a connection to a node that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: deprecation logging -> deprecation log
Backports the following commits to 8.x: