File tree 4 files changed +8
-8
lines changed
server/src/main/java/org/elasticsearch
action/admin/indices/alias
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -220,8 +220,8 @@ task verifyVersions {
220
220
* after the backport of the backcompat code is complete.
221
221
*/
222
222
223
- boolean bwc_tests_enabled = false
224
- final String bwc_tests_disabled_issue = " https://github.com/elastic/elasticsearch/pull/52547 " // backport thereof
223
+ boolean bwc_tests_enabled = true
224
+ final String bwc_tests_disabled_issue = " " /* place a PR link here when committing bwc changes */
225
225
if (bwc_tests_enabled == false ) {
226
226
if (bwc_tests_disabled_issue. isEmpty()) {
227
227
throw new GradleException (" bwc_tests_disabled_issue must be set when bwc_tests_enabled == false" )
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public Alias(StreamInput in) throws IOException {
75
75
indexRouting = in .readOptionalString ();
76
76
searchRouting = in .readOptionalString ();
77
77
writeIndex = in .readOptionalBoolean ();
78
- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) { // TODO fix for backport of https://github.com/elastic/elasticsearch/pull/52547
78
+ if (in .getVersion ().onOrAfter (Version .V_7_7_0 )) {
79
79
isHidden = in .readOptionalBoolean ();
80
80
}
81
81
}
@@ -219,7 +219,7 @@ public void writeTo(StreamOutput out) throws IOException {
219
219
out .writeOptionalString (indexRouting );
220
220
out .writeOptionalString (searchRouting );
221
221
out .writeOptionalBoolean (writeIndex );
222
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) { // TODO fix for backport of https://github.com/elastic/elasticsearch/pull/52547
222
+ if (out .getVersion ().onOrAfter (Version .V_7_7_0 )) {
223
223
out .writeOptionalBoolean (isHidden );
224
224
}
225
225
}
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ public AliasActions(StreamInput in) throws IOException {
251
251
searchRouting = in .readOptionalString ();
252
252
indexRouting = in .readOptionalString ();
253
253
writeIndex = in .readOptionalBoolean ();
254
- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) { //TODO fix for backport of https://github.com/elastic/elasticsearch/pull/52547
254
+ if (in .getVersion ().onOrAfter (Version .V_7_7_0 )) {
255
255
isHidden = in .readOptionalBoolean ();
256
256
}
257
257
originalAliases = in .readStringArray ();
@@ -267,7 +267,7 @@ public void writeTo(StreamOutput out) throws IOException {
267
267
out .writeOptionalString (searchRouting );
268
268
out .writeOptionalString (indexRouting );
269
269
out .writeOptionalBoolean (writeIndex );
270
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) { //TODO fix for backport https://github.com/elastic/elasticsearch/pull/52547
270
+ if (out .getVersion ().onOrAfter (Version .V_7_7_0 )) {
271
271
out .writeOptionalBoolean (isHidden );
272
272
}
273
273
out .writeStringArray (originalAliases );
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ public void writeTo(StreamOutput out) throws IOException {
198
198
}
199
199
out .writeOptionalBoolean (writeIndex ());
200
200
201
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) { //TODO fix for backport of https://github.com/elastic/elasticsearch/pull/52547
201
+ if (out .getVersion ().onOrAfter (Version .V_7_7_0 )) {
202
202
out .writeOptionalBoolean (isHidden );
203
203
}
204
204
}
@@ -224,7 +224,7 @@ public AliasMetaData(StreamInput in) throws IOException {
224
224
}
225
225
writeIndex = in .readOptionalBoolean ();
226
226
227
- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) { //TODO fix for backport of https://github.com/elastic/elasticsearch/pull/52547
227
+ if (in .getVersion ().onOrAfter (Version .V_7_7_0 )) {
228
228
isHidden = in .readOptionalBoolean ();
229
229
} else {
230
230
isHidden = null ;
You can’t perform that action at this time.
0 commit comments