File tree 2 files changed +4
-4
lines changed
core/src/main/java/org/elasticsearch/action/admin/cluster/health
rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public ClusterHealthRequest(StreamInput in) throws IOException {
74
74
if (in .readBoolean ()) {
75
75
waitForEvents = Priority .readFrom (in );
76
76
}
77
- if (in .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
77
+ if (in .getVersion ().onOrAfter (Version .V_6_2_0 )) {
78
78
waitForNoInitializingShards = in .readBoolean ();
79
79
}
80
80
}
@@ -106,7 +106,7 @@ public void writeTo(StreamOutput out) throws IOException {
106
106
out .writeBoolean (true );
107
107
Priority .writeTo (waitForEvents , out );
108
108
}
109
- if (out .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
109
+ if (out .getVersion ().onOrAfter (Version .V_6_2_0 )) {
110
110
out .writeBoolean (waitForNoInitializingShards );
111
111
}
112
112
}
Original file line number Diff line number Diff line change 95
95
---
96
96
" cluster health basic test, one index with wait for no initializing shards " :
97
97
- skip :
98
- version : " - 6.99 .99"
99
- reason : " wait_for_no_initializing_shards is introduced in 7.0 .0"
98
+ version : " - 6.1 .99"
99
+ reason : " wait_for_no_initializing_shards is introduced in 6.2 .0"
100
100
101
101
- do :
102
102
indices.create :
You can’t perform that action at this time.
0 commit comments