Skip to content

Commit 4a6343a

Browse files
authored
Update minimum transport version in main (#123254)
Versions 9.1.0 onwards will not be wire-compatible with versions before 8.19.0. This commit sets the minimum transport version to reject handshakes from earlier versions.
1 parent 688542b commit 4a6343a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/TransportVersions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static TransportVersion def(int id) {
264264
* Reference to the earliest compatible transport version to this version of the codebase.
265265
* This should be the transport version used by the highest minor version of the previous major.
266266
*/
267-
public static final TransportVersion MINIMUM_COMPATIBLE = BYTE_SIZE_VALUE_ALWAYS_USES_BYTES_1;
267+
public static final TransportVersion MINIMUM_COMPATIBLE = INITIAL_ELASTICSEARCH_8_19;
268268

269269
/**
270270
* Reference to the minimum transport version that can be used with CCS.

0 commit comments

Comments
 (0)