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

Cluster manager task throttling [DOC] #1792

Closed
1 of 4 tasks
dhwanilpatel opened this issue Nov 2, 2022 · 0 comments · Fixed by #1826
Closed
1 of 4 tasks

Cluster manager task throttling [DOC] #1792

dhwanilpatel opened this issue Nov 2, 2022 · 0 comments · Fixed by #1826
Assignees
Labels
2 - In progress Issue/PR: The issue or PR is in progress. v2.5.0 'Issues and PRs related to version v2.5.0'

Comments

@dhwanilpatel
Copy link

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Provide a summary of the request and all versions that are affected.

Give a brief description of your request.
We have introduced new settings for cluster manager task throttling. User can define throttling limit for task types in dynamic settings. Cluster manager node will throttle new task submission from data node if total task of given type in pending task queue breaches the threshold limit. Data node will internally perform retries on it.

Setting format:

{
    "persistent": {
        "cluster_manager.throttling.thresholds" : {
            "<task-type-name>" : {
                "value" : <threshold limit>
            }
        }
    }
}

Sample e.g

{
    "persistent": {
        "cluster_manager.throttling.thresholds" : {
            "put-mapping" : {
                "value" : "100"
            }
        }
    }
}

Set threshold limit to -1 to disable the throttling on given task type.

Default value of these new settings are -1 i.e. disabled throttling for task types.

Task types supported for throttling framework:

create-index, update-settings, cluster-update-settings, auto-create, delete-index, delete-dangling-index, create-data-stream, remove-data-stream, rollover-index, index-aliases, put-mapping, create-index-template, remove-index-template, create-component-template, remove-component-template, create-index-template-v2, remove-index-template-v2, put-pipeline, delete-pipeline, create-persistent-task, finish-persistent-task, remove-persistent-task, update-task-state, put-script, delete-script, put-repository, delete-repository, create-snapshot, delete-snapshot, update-snapshot-state, restore-snapshot, cluster-reroute-api

Which versions are affected?
2.4.0

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Github Issue
#479

PRs

Point of Contact for technical question
dhwanip / ruhelag

@kolchfa-aws kolchfa-aws added 1 - Backlog Issue: The issue is unassigned or assigned but not started v2.4.0 'Issues and PRs related to version v2.4.0' and removed untriaged labels Nov 2, 2022
@kolchfa-aws kolchfa-aws self-assigned this Nov 2, 2022
@kolchfa-aws kolchfa-aws added this to the v2.4 milestone Nov 2, 2022
@kolchfa-aws kolchfa-aws added 2 - In progress Issue/PR: The issue or PR is in progress. and removed 1 - Backlog Issue: The issue is unassigned or assigned but not started labels Nov 5, 2022
@hdhalter hdhalter modified the milestones: v2.4, v2.5.x Feb 5, 2023
@hdhalter hdhalter added v2.5.0 'Issues and PRs related to version v2.5.0' and removed v2.4.0 'Issues and PRs related to version v2.4.0' labels Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - In progress Issue/PR: The issue or PR is in progress. v2.5.0 'Issues and PRs related to version v2.5.0'
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants