Skip to content

Conversation

@volodk85
Copy link
Contributor

@volodk85 volodk85 commented Jun 1, 2023

Removes cluster state from /_cluster/reroute API response.

This PR brings a breaking change on REST API level. Affected API is https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-reroute.html

Various cluster state metric were rendered inside state field in the API response. If state field is gone, there is no place where to show concerning metrics. Note that in #88978 team agreed to remove metrics in the next major version (which is going to be 9.0.x) Thus, it makes sense to remove metrics entirely within this PR.

I'd structure changes to this api in two phases: 1) Change API signature (this PR) and 2) Clean-up of AllocationService (as per commend in code)

This is DRAFT PR. DO NOT MERGE until work on ES 9.0 version is kicked off

REST compatibility is expected to fail at this time.

Closes #88978

@elasticsearchmachine
Copy link
Collaborator

Hi @volodk85, I've created a changelog YAML for you. Note that since this PR is labelled >breaking, you need to update the changelog YAML to fill out the extended information sections.

@volodk85 volodk85 changed the title Do not return CS in /_cluster/reroute API response Do not return Cluster State in /_cluster/reroute API response Jun 5, 2023
@elasticsearchmachine
Copy link
Collaborator

Hi @volodk85, I've updated the changelog YAML for you. Note that since this PR is labelled >breaking, you need to update the changelog YAML to fill out the extended information sections.

@DaveCTurner
Copy link
Contributor

Superseded by #114231.

@DaveCTurner DaveCTurner closed this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>breaking :Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) v9.0.0

9 participants