File tree 1 file changed +2
-4
lines changed
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ccr/action
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -202,8 +202,7 @@ public Request(StreamInput in) throws IOException {
202
202
super (in );
203
203
remoteCluster = in .readString ();
204
204
leaderIndex = in .readString ();
205
- // TODO: Update after backport
206
- if (in .getVersion ().onOrAfter (Version .V_7_0_0 )) {
205
+ if (in .getVersion ().onOrAfter (Version .V_6_7_0 )) {
207
206
waitForActiveShards (ActiveShardCount .readFrom (in ));
208
207
}
209
208
followRequest = new ResumeFollowAction .Request (in );
@@ -214,8 +213,7 @@ public void writeTo(StreamOutput out) throws IOException {
214
213
super .writeTo (out );
215
214
out .writeString (remoteCluster );
216
215
out .writeString (leaderIndex );
217
- // TODO: Update after backport
218
- if (out .getVersion ().onOrAfter (Version .V_7_0_0 )) {
216
+ if (out .getVersion ().onOrAfter (Version .V_6_7_0 )) {
219
217
waitForActiveShards .writeTo (out );
220
218
}
221
219
followRequest .writeTo (out );
You can’t perform that action at this time.
0 commit comments