You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ML] Fix serialization order for model_size_stats (#66015)
Due to a backporting mistake, master and 7.x were
serializing the members of model_size_stats in
different orders. This led to BWC test failures
on master.
This change makes the ordering in 7.x the same as
the ordering in master. It will be tested when
the mute done in #65895 is reverted on the master
branch.
Fixes#65893
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state/ModelSizeStats.java
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -226,6 +226,15 @@ public ModelSizeStats(StreamInput in) throws IOException {
226
226
totalPartitionFieldCount = in.readVLong();
227
227
bucketAllocationFailuresCount = in.readVLong();
228
228
memoryStatus = MemoryStatus.readFromStream(in);
229
+
if (in.getVersion().onOrAfter(Version.V_7_11_0)) {
0 commit comments