Skip to content

index rollover running with "NORMAL" priority #50778

@shwetathareja

Description

@shwetathareja

Elasticsearch version (bin/elasticsearch --version): ES master branch

Description of the problem including expected versus actual behavior:
Index rollover cluster state update is running with "NORMAL" priority after this PR to make rollover execute in one cluster state update (thanks for fixing it). Before this change, the two steps 1) create index 2) alias-switch both used to run with "URGENT" priority. This can delay the rollover task and could again cause single index to grow huge if master is busy with other higher priority tasks like shard-started, shard-failed, update snapshot state etc.

clusterService.submitStateUpdateTask("rollover_index source [" + sourceIndexName + "] to target ["
                            + rolloverIndexName + "]", new ClusterStateUpdateTask() {

Fix: Update the priority for rollover task to "URGENT"
#50388

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