Skip to content

Add frozen phase to ILM UI #91189

@cjcenizal

Description

@cjcenizal

Previously implemented in #75968 and then removed in #77877

API

Per @dakrone, the frozen phase API is stable enough to develop a UI against, with code merged into master that supports:

The available actions in the frozen phase are:

  • set priority
  • unfollow
  • allocate
  • freeze
  • searchable snapshot

UX considerations

All searchable snapshot actions must use the same repository

Support for different repositories is not going to be in 7.12 and is unlikely to ever be implemented since it seems like a corner case. ILM will reject a policy if you have multiple searchable snapshot actions specifying different repos (elastic/elasticsearch#68856).

A naive UX solution to this constraint would be to surface validation errors if the user selects different repositories for multiple searchable snapshot actions.

A more sophisticated solution would be to prompt the user to specify a single policy-wide repository that will apply to all searchable snapshot actions. But this introduces its own challenges -- where would we surface this input? How do we maintain the connection to the searchable snapshot actions that it configures?

The searchable snapshot storage option is optional

If the storage option of the searchable_snapshot action isn't configured, it will default to different values depending on the phase it's in:

  • In the hot and cold phases it will default to a full searchable snapshot.
  • In the frozen phase it will default to a partial searchable snapshot.

Full searchable snapshots store primary data locally and store replica data in the snapshot. Primary data is restored from the snapshot if it's lost.

Partial searchable snapshots store no data locally. When the index is queried, they transfer data from the snapshot as it's needed, with some additional local caching.

Lee's guidance is that the UI doesn't need to provide a value for this option unless the user wants to.

The searchable snapshot action precludes some subsequent actions

Once searchable snapshot is enabled, certain other actions are disallowed from executing afterwards. This list was pulled from the ES code:

  • shrink
  • force merge
  • freeze
  • rollup

Note: The ES code lists searchable snapshot as also disallowed but elastic/elasticsearch#68864 has been opened to allow it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:ILMTeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//enhancementNew value added to drive a business result

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions