Skip to content

Commit aa738a4

Browse files
author
Peter Alfonsi
committed
fix versions
Signed-off-by: Peter Alfonsi <petealft@amazon.com>
1 parent 3ed8377 commit aa738a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6363
- Add a mapper for context aware segments grouping criteria ([#19233](https://github.com/opensearch-project/OpenSearch/pull/19233))
6464
- Return full error for GRPC error response ([#19568](https://github.com/opensearch-project/OpenSearch/pull/19568))
6565
- Add pluggable gRPC interceptors with explicit ordering([#19005](https://github.com/opensearch-project/OpenSearch/pull/19005))
66-
6766
- Add metrics for the merged segment warmer feature ([#18929](https://github.com/opensearch-project/OpenSearch/pull/18929))
67+
- Add an `item_count` metric for field data cache API ([#19174](https://github.com/opensearch-project/OpenSearch/pull/19174))
6868

6969
### Changed
7070
- Faster `terms` query creation for `keyword` field with index and docValues enabled ([#19350](https://github.com/opensearch-project/OpenSearch/pull/19350))

server/src/main/java/org/opensearch/index/fielddata/FieldDataStats.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public FieldDataStats(StreamInput in) throws IOException {
8282
memorySize = in.readVLong();
8383
evictions = in.readVLong();
8484
fieldMemorySizes = in.readOptionalWriteable(FieldMemoryStats::new);
85-
if (in.getVersion().onOrAfter(Version.V_3_3_0)) {
85+
if (in.getVersion().onOrAfter(Version.V_3_4_0)) {
8686
itemCount = in.readVLong();
8787
fieldItemCounts = in.readOptionalWriteable(FieldCountStats::new);
8888
}
@@ -175,7 +175,7 @@ public void writeTo(StreamOutput out) throws IOException {
175175
out.writeVLong(memorySize);
176176
out.writeVLong(evictions);
177177
out.writeOptionalWriteable(fieldMemorySizes);
178-
if (out.getVersion().onOrAfter(Version.V_3_3_0)) {
178+
if (out.getVersion().onOrAfter(Version.V_3_4_0)) {
179179
out.writeVLong(itemCount);
180180
out.writeOptionalWriteable(fieldItemCounts);
181181
}

0 commit comments

Comments
 (0)