Skip to content

Commit c08dd01

Browse files
committed
[ML] BWC changes for backport of PR #32816
1 parent 708aff9 commit c08dd01

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfig.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,8 @@ public AnalysisConfig(StreamInput in) throws IOException {
162162
}
163163

164164
// BWC for removed per-partition normalization
165-
// Version check is temporarily against the latest to satisfy CI tests
166-
// TODO change to V_6_5_0 after successful backport to 6.x
167-
if (in.getVersion().before(Version.V_7_0_0_alpha1)) {
165+
// TODO Remove in 7.0.0
166+
if (in.getVersion().before(Version.V_6_5_0)) {
168167
in.readBoolean();
169168
}
170169
}
@@ -197,9 +196,8 @@ public void writeTo(StreamOutput out) throws IOException {
197196
}
198197

199198
// BWC for removed per-partition normalization
200-
// Version check is temporarily against the latest to satisfy CI tests
201-
// TODO change to V_6_5_0 after successful backport to 6.x
202-
if (out.getVersion().before(Version.V_7_0_0_alpha1)) {
199+
// TODO Remove in 7.0.0
200+
if (out.getVersion().before(Version.V_6_5_0)) {
203201
out.writeBoolean(false);
204202
}
205203
}

0 commit comments

Comments
 (0)