File tree Expand file tree Collapse file tree 3 files changed +29
-7
lines changed
plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/process/autodetect/state
qa/rolling-upgrade/src/test/resources/rest-api-spec/test Expand file tree Collapse file tree 3 files changed +29
-7
lines changed Original file line number Diff line number Diff line change @@ -200,8 +200,7 @@ public ModelSizeStats(StreamInput in) throws IOException {
200200 totalPartitionFieldCount = in .readVLong ();
201201 bucketAllocationFailuresCount = in .readVLong ();
202202 memoryStatus = MemoryStatus .readFromStream (in );
203- // TODO change to 7.7.0 on backport
204- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
203+ if (in .getVersion ().onOrAfter (Version .V_7_7_0 )) {
205204 categorizedDocCount = in .readVLong ();
206205 totalCategoryCount = in .readVLong ();
207206 frequentCategoryCount = in .readVLong ();
@@ -243,8 +242,7 @@ public void writeTo(StreamOutput out) throws IOException {
243242 out .writeVLong (totalPartitionFieldCount );
244243 out .writeVLong (bucketAllocationFailuresCount );
245244 memoryStatus .writeTo (out );
246- // TODO change to 7.7.0 on backport
247- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
245+ if (out .getVersion ().onOrAfter (Version .V_7_7_0 )) {
248246 out .writeVLong (categorizedDocCount );
249247 out .writeVLong (totalCategoryCount );
250248 out .writeVLong (frequentCategoryCount );
Original file line number Diff line number Diff line change 11---
22" Test get old cluster job " :
3+ - skip :
4+ version : " 7.7.0 - "
5+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
36 - do :
47 ml.get_jobs :
58 job_id : old-cluster-job
3740
3841---
3942" Test get old cluster job's timing stats " :
43+ - skip :
44+ version : " 7.7.0 - "
45+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
4046 - do :
4147 ml.get_job_stats :
4248 job_id : old-cluster-job-with-ts
5157
5258---
5359" Test get old cluster categorization job " :
60+ - skip :
61+ version : " 7.7.0 - "
62+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
5463 - do :
5564 ml.get_jobs :
5665 job_id : old-cluster-categorization-job
8897
8998---
9099" Create a job in the mixed cluster and write some data " :
100+ - skip :
101+ version : " 7.7.0 - "
102+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
91103 - do :
92104 ml.put_job :
93105 job_id : mixed-cluster-job
140152
141153---
142154" Test job with pre 6.4 rules " :
143-
155+ - skip :
156+ version : " 7.7.0 - "
157+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
144158 - do :
145159 ml.get_jobs :
146160 job_id : job-with-old-rules
Original file line number Diff line number Diff line change 88
99---
1010" Test open old jobs " :
11+ - skip :
12+ version : " 7.7.0 - "
13+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
1114 - do :
1215 ml.open_job :
1316 job_id : old-cluster-job
@@ -111,6 +114,9 @@ setup:
111114
112115---
113116" Test get old cluster job's timing stats " :
117+ - skip :
118+ version : " 7.7.0 - "
119+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
114120 - do :
115121 ml.get_job_stats :
116122 job_id : old-cluster-job-with-ts
@@ -135,7 +141,9 @@ setup:
135141
136142---
137143" Test job with pre 6.4 rules " :
138-
144+ - skip :
145+ version : " 7.7.0 - "
146+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
139147 - do :
140148 ml.get_jobs :
141149 job_id : job-with-old-rules
@@ -145,7 +153,9 @@ setup:
145153
146154---
147155" Test get job with function shortcut should expand " :
148-
156+ - skip :
157+ version : " 7.7.0 - "
158+ reason : waiting merge of https://github.com/elastic/elasticsearch/pull/52009
149159 - do :
150160 ml.get_jobs :
151161 job_id : old-cluster-function-shortcut-expansion
You can’t perform that action at this time.
0 commit comments