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] Timeout during execution of the task on cluster manager node #11817

Open
dhwanilpatel opened this issue Jan 9, 2024 · 1 comment
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request

Comments

@dhwanilpatel
Copy link
Contributor

Is your feature request related to a problem? Please describe

Many cluster manager tasks generated from user has the timeout like create-index/put-mapping/update-setting/etc. Today this task will timeout only if they are in pending task queue of cluster manager node, i.e. if tasks is waiting in queue for that timeout period then only it will be timed out and throw process_cluster_event_timeout_exception.

If task is picked up by cluster manager node then it never times out even if it take infinite time. This will cause subsequent tasks to be timeout. This can impact overall cluster resiliency as well as cluster manager will not be execute critical task like node-join/left until the task in execution is not completed.

Recently we have faced similar issue where one custom deciders was taking too long time and task execution was taking very long time and it didn't timeout. All subsequent tasks were getting timed out because of these and we were not able to do any admin operation like updating cluster setting/new index creation/deletion/etc.

Describe the solution you'd like

Cluster manager node should timeout the task even if it is in execution phase and not only during waiting period in pending task queue. We can evaluate if we want to create any separate timeout for this or we just use the timeout of particular task during execution phase as well.

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

@dhwanilpatel dhwanilpatel added enhancement Enhancement or improvement to existing feature or request untriaged labels Jan 9, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2]
@dhwanilpatel Thanks for filing this issue, please feel free to submit a pull request.

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

2 participants