Skip to content

[Feature Request] Snapshot restore should allow renaming aliases #15632

@mispencer

Description

@mispencer

Is your feature request related to a problem? Please describe

Snapshot restore takes a pair of arguments to allow renaming indexes into new names. The common example use case to restore snapshots into the same cluster as temporary separate indexes for research and debugging. However, this is problematic if this indexes has aliases to be restored. I am not sure if the indexes will be linked to the existing aliases or this is an error, but either case would problematic, since this either breaks desired isolation or fails.

Describe the solution you'd like

Snapshot restore should take a new pair of arguments to allow renaming aliases into new names to match the existing pair of arguments for index renaming. For backend compatibility, these arguments should be optional.

Related component

Storage:Snapshots

Describe alternatives you've considered

In some cases, it may be possible to restore any necessary aliases after the snapshot restore is completed. It is also possible to restore into another cluster. The drawbacks of these two options is obvious, however.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Storage:SnapshotsenhancementEnhancement or improvement to existing feature or request

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions