Skip to content

TransportRolloverAction retains as many cluster state as there are rollover tasks waiting in a batch consuming too much memory #90620

@original-brownbear

Description

@original-brownbear

The way, the CS batching in TransportRolloverAction is written is broken for large batches of tasks. Each task result will contain the cluster state after applying the task. This consumes unmanageable amounts of memory for large cluster states if a larger number of rollovers gets batched, causing master nodes to run out of heap from endless RolloverResult getting retained.

image

We must find a way to not retain cluster states like this in the task results.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions