-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Closed as not planned
Closed as not planned
Copy link
Labels
:Data Management/Indices APIsAPIs to create and manage indices and templatesAPIs to create and manage indices and templatesTeam:Data ManagementMeta label for data/management teamMeta label for data/management team
Description
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
Labels
:Data Management/Indices APIsAPIs to create and manage indices and templatesAPIs to create and manage indices and templatesTeam:Data ManagementMeta label for data/management teamMeta label for data/management team