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
Add recovery progress (% recovered) to the cat API #10805
Comments
Other useful data to display in the result include:
|
A couple of APIs are already there to do similar tasks
So, we need a new endpoint here. This basically is an endpoint to ask, when the full cluster will be ready or give you a very general overview. Something like Proposed output format
|
This what we expose with
I also think every number that we feel the need to add that the proposed _cat/status api and isn't part of that list should be added to it. Concretely I hear |
@bleskes I tend to agree to extend the |
Yeah, I got annoyed with having to grep pending tasks dumps a long time ago :) |
In order to get a quick overview using by simply checking the cluster state and its corresponding cat API, the following two attributes have been added to the cluster health response: * pending_task_time_in_queue, the time value of the first task of the queue and how long it has been waiting * recovery percent: The percentage of the number of shards that are in initializing state This makes the cluster health API handy to check, when a fully restarted cluster is back up and running. In addition a small serialization fix has been added, which removes version checks for the this branch in the ClusterHealthResponse. Closes elastic#10805
In order to get a quick overview using by simply checking the cluster state and its corresponding cat API, the following two attributes have been added to the cluster health response: * task max waiting time, the time value of the first task of the queue and how long it has been waiting * active shards percent: The percentage of the number of shards that are in initializing state This makes the cluster health API handy to check, when a fully restarted cluster is back up and running. Closes elastic#10805
It'd be useful to have a cat API which reports the percentage of shards recovered, to make it easy for users to assess how much longer recovery will take.
The text was updated successfully, but these errors were encountered: