Skip to content

Fixed swapped schema references in nodes info API buffer fields #808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixed FilterQueryRequestProcessor to use correct query type ([#821](https://github.com/opensearch-project/opensearch-api-specification/pull/821))
- Fixed `knn.train_model`'s request body `method` field to accept an object rather than a string ([#814](https://github.com/opensearch-project/opensearch-api-specification/pull/814))
- Fixed REST status codes for RBAC and provisioning for Flow Framework plugin ([#842](https://github.com/opensearch-project/opensearch-api-specification/pull/842))
- 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
13 changes: 10 additions & 3 deletions spec/schemas/nodes.info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,19 @@ 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'
oneOf:
- $ref: '_common.yaml#/components/schemas/ByteCount'
x-version-removed: '3.0'
- $ref: '_common.yaml#/components/schemas/HumanReadableByteCount'
x-version-added: '3.0'
total_indexing_buffer_in_bytes:
$ref: '_common.yaml#/components/schemas/HumanReadableByteCount'
oneOf:
- $ref: '_common.yaml#/components/schemas/HumanReadableByteCount'
x-version-removed: '3.0'
- $ref: '_common.yaml#/components/schemas/ByteCount'
x-version-added: '3.0'
transport:
$ref: '#/components/schemas/NodeInfoTransport'
transport_address:
Expand Down
Loading