diff --git a/server/src/main/java/org/elasticsearch/cluster/node/VersionInformation.java b/server/src/main/java/org/elasticsearch/cluster/node/VersionInformation.java index 85d17dabed781..a2e2e801db958 100644 --- a/server/src/main/java/org/elasticsearch/cluster/node/VersionInformation.java +++ b/server/src/main/java/org/elasticsearch/cluster/node/VersionInformation.java @@ -32,7 +32,7 @@ public static VersionInformation inferVersions(Version nodeVersion) { return null; } else if (nodeVersion.equals(Version.CURRENT)) { return CURRENT; - } else if (nodeVersion.onOrBefore(Version.V_8_10_0)) { + } else if (nodeVersion.before(Version.V_8_11_0)) { return new VersionInformation( nodeVersion, IndexVersion.getMinimumCompatibleIndexVersion(nodeVersion.id),