Skip to content

Commit

Permalink
Fixed swapped schema references in nodes info API buffer fields
Browse files Browse the repository at this point in the history
Signed-off-by: hye-on <[email protected]>
  • Loading branch information
hye-on committed Jan 25, 2025
1 parent 592336a commit 0582674
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixed Memory Circuit Breaker flaky error in ML APIs ([#788](https://github.com/opensearch-project/opensearch-api-specification/pull/788))
- Fixed GeoDistanceSort schema ([#805](https://github.com/opensearch-project/opensearch-api-specification/pull/805))
- Fixed Aggregation schemas([#801](https://github.com/opensearch-project/opensearch-api-specification/pull/801))
- Fixed swapped schema references in nodes info API buffer fields([#808](https://github.com/opensearch-project/opensearch-api-specification/pull/808))

### Changed
- Changed `tasks._common:TaskInfo` and `tasks._common:TaskGroup` to be composed of a `tasks._common:TaskInfoBase` ([#683](https://github.com/opensearch-project/opensearch-api-specification/pull/683))
Expand Down
5 changes: 2 additions & 3 deletions spec/schemas/nodes.info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@ components:
type: object
additionalProperties:
$ref: '#/components/schemas/NodeThreadPoolInfo'
# NOTE: total_indexing_buffer and total_indexing_buffer_in_bytes inverted according to the standard pattern, this is a bug: https://github.com/opensearch-project/OpenSearch/issues/16910
total_indexing_buffer:
description: Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.
$ref: '_common.yaml#/components/schemas/ByteCount'
total_indexing_buffer_in_bytes:
$ref: '_common.yaml#/components/schemas/HumanReadableByteCount'
total_indexing_buffer_in_bytes:
$ref: '_common.yaml#/components/schemas/ByteCount'
transport:
$ref: '#/components/schemas/NodeInfoTransport'
transport_address:
Expand Down

0 comments on commit 0582674

Please sign in to comment.