Skip to content

[Upgrade Assistant] No bulk option to mark multiple legacy indices as verified_read_only #128468

@lma456

Description

@lma456

I want to upgrade to Elasticsearch 9.0 and prepare my cluster by marking legacy indices (created before 8.0) as verified_read_only so they do not need to be reindexed.

The documentation states that marking indices as read-only is a valid alternative to reindexing them, provided I don't need to write to them anymore.

However, the only supported way to set verified_read_only is through the Kibana Upgrade Assistant UI, where I must click "Mark as read-only" for each index individually.

In large clusters with hundreds or thousands of legacy indices, this becomes practically impossible.

I also tried:

index.blocks.write = true → not sufficient to suppress warnings

Upgrade Assistant Batch Reindex API → only supports reindexing, not read-only

What is missing:

There is currently:

No bulk UI action to mark multiple indices as verified_read_only

No public, documented API to mark indices that way

No CLI tool or migration-assistance endpoint that works cluster-wide

This issue directly impacts upgrade usability for large clusters.

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