Skip to content

Restoring a v${N-2} index should apply necessary blocks automatically #128962

Open
@DaveCTurner

Description

@DaveCTurner

Elasticsearch 9.x admits indices created in 7.x as long as the indices were marked as readonly in version ≥8.18.0, as indicated by the private index.verified_read_only setting. However if a user has a snapshot from an older (8.x or 7.x) cluster then today we cannot restore any 7.x indices therein. Instead, the user must restore the snapshot into an 8.last cluster, mark the indices as readonly, take another snapshot of the now-verified-read-only indices, and then restore that snapshot into the 9.x cluster.

Is this process necessary on a snapshot restore or could we treat an old index being restored from a snapshot as verified-read-only and apply the needed settings automatically?

Relates https://discuss.elastic.co/t/378853/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions