diff --git a/build.gradle b/build.gradle index ec6598a0471cd..47652b111c926 100644 --- a/build.gradle +++ b/build.gradle @@ -189,8 +189,8 @@ tasks.register("verifyVersions") { * after the backport of the backcompat code is complete. */ -boolean bwc_tests_enabled = false -String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/69202" /* place a PR link here when committing bwc changes */ +boolean bwc_tests_enabled = true +String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */ /* * FIPS 140-2 behavior was fixed in 7.11.0. Before that there is no way to run elasticsearch in a * JVM that is properly configured to be in fips mode with BCFIPS. For now we need to disable diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/RolloverAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/RolloverAction.java index 703f79ae802de..151880b638f67 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/RolloverAction.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/RolloverAction.java @@ -84,7 +84,7 @@ public RolloverAction(StreamInput in) throws IOException { } else { maxSize = null; } - if (in.getVersion().onOrAfter(Version.V_8_0_0) && in.readBoolean()) { + if (in.getVersion().onOrAfter(Version.V_7_13_0) && in.readBoolean()) { maxSinglePrimarySize = new ByteSizeValue(in); } else { maxSinglePrimarySize = null; @@ -100,7 +100,7 @@ public void writeTo(StreamOutput out) throws IOException { if (hasMaxSize) { maxSize.writeTo(out); } - if (out.getVersion().onOrAfter((Version.V_8_0_0))) { + if (out.getVersion().onOrAfter(Version.V_7_13_0)) { boolean hasMaxSinglePrimarySize = maxSinglePrimarySize != null; out.writeBoolean(hasMaxSinglePrimarySize); if (hasMaxSinglePrimarySize) {