-
Notifications
You must be signed in to change notification settings - Fork 2.5k
_cat/shards does not show deleted document count #11677
Copy link
Copy link
Closed
Labels
OtherenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or requestv2.12.0Issues and PRs related to version 2.12.0Issues and PRs related to version 2.12.0v3.0.0Issues and PRs related to version 3.0.0Issues and PRs related to version 3.0.0
Description
Is your feature request related to a problem? Please describe
While _cat/indices and _cat/segments both show the deleted document count, _cat/shards has no option for displaying the deleted document count.
Whenever we need deleted document count on a shard level we either have to aggregate results of _cat/segments or have to reply on _stats call with level set to shard.
Adding deleted doc count to _cat/shards will bring a uniformity with _cat/index and _cat/segments and will be handy for knowing deleted document count on a shard level as well.
Describe the solution you'd like
_cat/shards should include a deleted document count parameter like the one shown below
index shard prirep state docs del_docs store ip node
index2 0 p STARTED 9 0 5kb 127.0.0.1 b0be8357b2c9.ant.amazon.com
Related component
Other
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OtherenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or requestv2.12.0Issues and PRs related to version 2.12.0Issues and PRs related to version 2.12.0v3.0.0Issues and PRs related to version 3.0.0Issues and PRs related to version 3.0.0
Type
Projects
Status
Planned work items