Skip to content
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

_cat/shards does not show deleted document count #11677

Closed
rayshrey opened this issue Dec 27, 2023 · 0 comments · Fixed by #11678
Closed

_cat/shards does not show deleted document count #11677

rayshrey opened this issue Dec 27, 2023 · 0 comments · Fixed by #11678
Labels
enhancement Enhancement or improvement to existing feature or request Other v2.12.0 Issues and PRs related to version 2.12.0 v3.0.0 Issues and PRs related to version 3.0.0

Comments

@rayshrey
Copy link
Contributor

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

@rayshrey rayshrey added enhancement Enhancement or improvement to existing feature or request untriaged labels Dec 27, 2023
@github-actions github-actions bot added the Other label Dec 27, 2023
@ticheng-aws ticheng-aws added WIP Work in progress and removed untriaged labels Jan 2, 2024
@reta reta added v3.0.0 Issues and PRs related to version 3.0.0 v2.12.0 Issues and PRs related to version 2.12.0 and removed WIP Work in progress labels Jan 4, 2024
@bbarani bbarani moved this to Planned work items in Test roadmap format Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Other v2.12.0 Issues and PRs related to version 2.12.0 v3.0.0 Issues and PRs related to version 3.0.0
Projects
Status: Planned work items
Development

Successfully merging a pull request may close this issue.

3 participants