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

[Feature Request] Cancellation support for cat/indices API. #15788

Open
aasom143 opened this issue Sep 6, 2024 · 2 comments
Open

[Feature Request] Cancellation support for cat/indices API. #15788

aasom143 opened this issue Sep 6, 2024 · 2 comments
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request

Comments

@aasom143
Copy link
Contributor

aasom143 commented Sep 6, 2024

Is your feature request related to a problem? Please describe

Today, the cat indices API does not support overall timeouts or per-node transport request timeouts. In the event of a faulty node, the API can become unresponsive, and in a heavily loaded cluster, the API may take longer than expected to respond. It is essential to implement timeout support for the cat indices API.

Describe the solution you'd like

Recently, we added cancellation support for the cat shards API, which allows us to specify an overall timeout for the API. Additionally, there are some APIs that support a per-node transport request timeout, such as cat/nodes. This enhancement addresses both issues mentioned above.

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

@aasom143 aasom143 added enhancement Enhancement or improvement to existing feature or request untriaged labels Sep 6, 2024
@aasom143 aasom143 changed the title [Feature Request] <Cancellation support for cat/indices API> [Feature Request] Cancellation support for cat/indices API. Sep 6, 2024
@andrross
Copy link
Member

[Catch All Triage - 1, 2, 3]

@rajiv-kv
Copy link
Contributor

@aasom143 - Looks like the documentation of /_cat/nodes does not specify the timeout parameter. We might require to fix the same.

Also can we move this under a parent Meta issue for Cancellation and have the potential Admin API's for which cancellation can be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants