Skip to content

Simple ILM Task Batching Implementation#78547

Merged
original-brownbear merged 5 commits intoelastic:masterfrom
original-brownbear:batch-ilm-simple
Oct 1, 2021
Merged

Simple ILM Task Batching Implementation#78547
original-brownbear merged 5 commits intoelastic:masterfrom
original-brownbear:batch-ilm-simple

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

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.
@original-brownbear original-brownbear added >non-issue :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. v8.0.0 v7.16.0 labels Oct 1, 2021
@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Oct 1, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor 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 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 DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. >non-issue Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.16.0 v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants