Skip to content

Commit 66fc127

Browse files
authored
Reenable BWC after backport of #75606 (#76617)
This PR changes the serialization version for the contents of #75606 and re-enables BWC tests following the backport of that PR (backport in #76587).
1 parent cd98d99 commit 66fc127

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ tasks.register("verifyVersions") {
138138
* after the backport of the backcompat code is complete.
139139
*/
140140

141-
boolean bwc_tests_enabled = false
141+
boolean bwc_tests_enabled = true
142142
// place a PR link here when committing bwc changes:
143-
String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/76587"
143+
String bwc_tests_disabled_issue = ""
144144
/*
145145
* FIPS 140-2 behavior was fixed in 7.11.0. Before that there is no way to run elasticsearch in a
146146
* JVM that is properly configured to be in fips mode with BCFIPS. For now we need to disable

server/src/main/java/org/elasticsearch/cluster/routing/UnassignedInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public final class UnassignedInfo implements ToXContentFragment, Writeable {
4747
* The version that the {@code lastAllocatedNode} field was added in. Used to adapt streaming of this class as appropriate for the
4848
* version of the node sending/receiving it. Should be removed once wire compatibility with this version is no longer necessary.
4949
*/
50-
private static final Version VERSION_LAST_ALLOCATED_NODE_ADDED = Version.V_8_0_0;
50+
private static final Version VERSION_LAST_ALLOCATED_NODE_ADDED = Version.V_7_15_0;
5151

5252
public static final DateFormatter DATE_TIME_FORMATTER = DateFormatter.forPattern("date_optional_time").withZone(ZoneOffset.UTC);
5353

0 commit comments

Comments
 (0)