You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the Node Stats API with level=shards: $ curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_nodes/stats?level=shards&human=true&pretty=true'
This commit brings the Nodes Stats API to the latest version.
Notice that 7.15.0 has a
elastic/elasticsearch#78311 that is likely
being fixed by elastic/elasticsearch#78531, so
we're skipping the given test for that specific release.
Once 7.15.1 is released, the bug might reappear unless the PR is being
merged into that version.
See #1535
Seems like the Node Stats API in 7.15.0 is broken due to this change (reported here). See also elastic/elasticsearch#78311.
How to reproduce:
level=shards
:$ curl -H 'Content-Type: application/json' -XGET 'http://localhost:9200/_nodes/stats?level=shards&human=true&pretty=true'
Expected outcome:
All JSON keys on the same level are different.
Actual response:
You'll get a duplicate JSON key for
shards
:The text was updated successfully, but these errors were encountered: