Skip to content

Commit

Permalink
Infer index version for 8.10 patches (elastic#99501)
Browse files Browse the repository at this point in the history
This commit fixes a missed poison pill for inferring index version. The
changed logic allows inferring to work on 8.10 patches, not just 8.10.0.

see elastic#99003
  • Loading branch information
rjernst authored Sep 13, 2023
1 parent 61000ac commit ebe00a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit ebe00a6

Please sign in to comment.