Commit 8426e14 1 parent eba3b57 commit 8426e14 Copy full SHA for 8426e14
File tree 2 files changed +7
-7
lines changed
rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards
server/src/main/java/org/opensearch/index/search/stats
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
" Help " :
2
2
- skip :
3
- version : " - 2.99 .99"
3
+ version : " - 2.13 .99"
4
4
reason : search idle reactivate count total is only added in 3.0.0
5
5
features : node_selector
6
6
- do :
7
7
cat.shards :
8
8
help : true
9
9
node_selector :
10
- version : " 3.0 .0 - "
10
+ version : " 2.14 .0 - "
11
11
12
12
- match :
13
13
$body : |
93
93
docs.deleted .+ \n
94
94
$/
95
95
---
96
- " Help from 2.12.0 to 2.99 .99 " :
96
+ " Help from 2.12.0 to 2.13 .99 " :
97
97
- skip :
98
- version : " - 2.11.99 , 3.0 .0 - "
98
+ version : " - 2.11.99 , 2.14 .0 - "
99
99
reason : deleted docs and concurrent search are added in 2.12.0
100
100
features : node_selector
101
101
- do :
102
102
cat.shards :
103
103
help : true
104
104
node_selector :
105
- version : " 2.12.0 - 2.99 .99"
105
+ version : " 2.12.0 - 2.13 .99"
106
106
107
107
- match :
108
108
$body : |
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ private Stats(StreamInput in) throws IOException {
261
261
queryConcurrency = in .readVLong ();
262
262
}
263
263
264
- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
264
+ if (in .getVersion ().onOrAfter (Version .V_2_14_0 )) {
265
265
searchIdleReactivateCount = in .readVLong ();
266
266
}
267
267
}
@@ -475,7 +475,7 @@ public void writeTo(StreamOutput out) throws IOException {
475
475
out .writeVLong (queryConcurrency );
476
476
}
477
477
478
- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
478
+ if (out .getVersion ().onOrAfter (Version .V_2_14_0 )) {
479
479
out .writeVLong (searchIdleReactivateCount );
480
480
}
481
481
}
You can’t perform that action at this time.
0 commit comments