Skip to content

Index Lifecycle Management does not have a lower bound on poll_interval #39163

@jakelandis

Description

@jakelandis

Index Lifecycle Management has a polling interval that is configurable. The default is 10 minutes but may be changed via the dynamic indices.lifecycle.poll_interval setting.

Currently there is no lower bound, which if set too low could consume more compute resources that are reasonably required. We should enforce a lower bound of 1000ms (1s).

To reproduce:

PUT /_cluster/settings
{
  "persistent": {
    "indices.lifecycle.poll_interval": "1ms",
    "logger.org.elasticsearch.xpack.indexlifecycle": "TRACE"
  }
}

(watch the log file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Data Management/ILM+SLMDO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead.good first issuelow hanging fruithelp wantedadoptme

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions