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

Simple ILM Task Batching Implementation #78547

Merged

Conversation

original-brownbear
Copy link
Member

A simple implementation for ILM task batching that resolves the issue of ILM
creating endless queues of tasks at NORMAL priority in most cases.
A follow-up to this should make this more efficient by not using outright
cluster state updates as batching tasks to avoid creating a series of concrete
cluster states for each task which can become somewhat expensive if a larger
number of tasks is batched together.

A simple implementation for ILM task batching that resolves the issue of ILM
creating endless queues of tasks at `NORMAL` priority in most cases.
A follow-up to this should make this more efficient by not using outright
cluster state updates as batching tasks to avoid creating a series of concrete
cluster states for each task which can become somewhat expensive if a larger
number of tasks is batched together.
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Oct 1, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@original-brownbear
Copy link
Member Author

Thanks @martijnvg !

@original-brownbear original-brownbear merged commit ec8603a into elastic:master Oct 1, 2021
@original-brownbear original-brownbear deleted the batch-ilm-simple branch October 1, 2021 15:47
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Oct 1, 2021
A simple implementation for ILM task batching that resolves the issue of ILM
creating endless queues of tasks at `NORMAL` priority in most cases.
A follow-up to this should make this more efficient by not using outright
cluster state updates as batching tasks to avoid creating a series of concrete
cluster states for each task which can become somewhat expensive if a larger
number of tasks is batched together.
original-brownbear added a commit that referenced this pull request Oct 1, 2021
A simple implementation for ILM task batching that resolves the issue of ILM
creating endless queues of tasks at `NORMAL` priority in most cases.
A follow-up to this should make this more efficient by not using outright
cluster state updates as batching tasks to avoid creating a series of concrete
cluster states for each task which can become somewhat expensive if a larger
number of tasks is batched together.
@original-brownbear original-brownbear restored the batch-ilm-simple branch April 18, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >non-issue Team:Data Management Meta label for data/management team v7.16.0 v8.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants