Skip to content

Commit 20ed7d7

Browse files
authored
Adjust IndexMetadata serialization version (#60988)
This change adjusts the IndexMetadata serialization version for the system index flag after the backport of #57936. Additionally, bwc tests have been reenabled.
1 parent 766177f commit 20ed7d7

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
@@ -174,8 +174,8 @@ tasks.register("verifyVersions") {
174174
* after the backport of the backcompat code is complete.
175175
*/
176176

177-
boolean bwc_tests_enabled = false
178-
final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/57936" /* place a PR link here when committing bwc changes */
177+
boolean bwc_tests_enabled = true
178+
final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
179179
if (bwc_tests_enabled == false) {
180180
if (bwc_tests_disabled_issue.isEmpty()) {
181181
throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")

server/src/main/java/org/elasticsearch/cluster/metadata/IndexMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ public static APIBlock readFrom(StreamInput input) throws IOException {
345345

346346
public static final String INDEX_STATE_FILE_PREFIX = "state-";
347347

348-
static final Version SYSTEM_INDEX_FLAG_ADDED = Version.V_8_0_0;
348+
static final Version SYSTEM_INDEX_FLAG_ADDED = Version.V_7_10_0;
349349

350350
private final int routingNumShards;
351351
private final int routingFactor;

0 commit comments

Comments
 (0)