File tree Expand file tree Collapse file tree 4 files changed +12
-11
lines changed
rest-api-spec/src/main/resources/rest-api-spec/test
server/src/main/java/org/opensearch/index/search/stats Expand file tree Collapse file tree 4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
119
119
- Attempt to fix Github workflow for Gradle Check job ([ #4679 ] ( https://github.com/opensearch-project/OpenSearch/pull/4679 ) )
120
120
- Fix flaky DecommissionControllerTests.testTimesOut ([ 4683] ( https://github.com/opensearch-project/OpenSearch/pull/4683 ) )
121
121
- Fix new race condition in DecommissionControllerTests ([ 4688] ( https://github.com/opensearch-project/OpenSearch/pull/4688 ) )
122
+ - Fix SearchStats (de)serialization (caused by https://github.com/opensearch-project/OpenSearch/pull/4616 ) ([ #4697 ] ( https://github.com/opensearch-project/OpenSearch/pull/4697 ) )
122
123
123
124
### Security
124
125
Original file line number Diff line number Diff line change 1
1
---
2
2
" Help " :
3
3
- skip :
4
- version : " - 2.9 .99"
5
- reason : point in time stats were added in 3.0 .0
4
+ version : " - 2.3 .99"
5
+ reason : point in time stats were added in 2.4 .0
6
6
features : node_selector
7
7
- do :
8
8
cat.shards :
9
9
help : true
10
10
node_selector :
11
- version : " 3.0 .0 - "
11
+ version : " 2.4 .0 - "
12
12
13
13
- match :
14
14
$body : |
88
88
path.state .+ \n
89
89
$/
90
90
---
91
- " Help before - 3.0 .0 " :
91
+ " Help before - 2.4 .0 " :
92
92
- skip :
93
- version : " 3.0 .0 - "
94
- reason : point in time stats were added in 3.0 .0
93
+ version : " 2.4 .0 - "
94
+ reason : point in time stats were added in 2.4 .0
95
95
features : node_selector
96
96
- do :
97
97
cat.shards :
98
98
help : true
99
99
node_selector :
100
- version : " - 2.9 .99"
100
+ version : " - 2.3 .99"
101
101
102
102
- match :
103
103
$body : |
Original file line number Diff line number Diff line change 1
1
" Create PIT, Search with PIT ID and Delete " :
2
2
- skip :
3
- version : " - 2.9 .99"
4
- reason : " mode to be introduced later than 3 .0"
3
+ version : " - 2.3 .99"
4
+ reason : " mode to be introduced later than 2.4 .0"
5
5
- do :
6
6
indices.create :
7
7
index : test_pit
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ private Stats(StreamInput in) throws IOException {
141
141
suggestTimeInMillis = in .readVLong ();
142
142
suggestCurrent = in .readVLong ();
143
143
144
- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
144
+ if (in .getVersion ().onOrAfter (Version .V_2_4_0 )) {
145
145
pitCount = in .readVLong ();
146
146
pitTimeInMillis = in .readVLong ();
147
147
pitCurrent = in .readVLong ();
@@ -292,7 +292,7 @@ public void writeTo(StreamOutput out) throws IOException {
292
292
out .writeVLong (suggestTimeInMillis );
293
293
out .writeVLong (suggestCurrent );
294
294
295
- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
295
+ if (out .getVersion ().onOrAfter (Version .V_2_4_0 )) {
296
296
out .writeVLong (pitCount );
297
297
out .writeVLong (pitTimeInMillis );
298
298
out .writeVLong (pitCurrent );
You can’t perform that action at this time.
0 commit comments