-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Labels
:Data Management/ILM+SLMDO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.>enhancementTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.
Description
Today, ILM policy cluster state updates are not batched:
Lines 122 to 125 in 5160113
| submitUnbatchedTask( | |
| "put-lifecycle-" + request.getPolicy().getName(), | |
| new UpdateLifecyclePolicyTask(request, listener, licenseState, filteredHeaders, xContentRegistry, client) | |
| ); |
Batching these cluster state updates will reduce the number of cluster state updates the cluster needs to process. This is especially relevant in tests as the IndexTemplateRegistry adds dozens of ILM policies, each resulting in a dedicated cluster state update. This noticeably slows down cluster startup times.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Data Management/ILM+SLMDO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.>enhancementTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.