-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ClusterBlockException on /_cat/indices/ on readonly indices #5855
Copy link
Copy link
Closed
Labels
Description
_cat is cool!
We currently run ES 1.0.1.
While attempting to lower the overhead of lots of indices (still havent found a solution) I tried making indices readonly. Not sure yet if it has any positive impact, but I found this.
First lets make indices readonly:
curl -s -XPUT 'localhost:9200/logstash-pro-apache-2014.03.*/_settings?index.blocks.read_only=true'
Then execute:
curl -s 'localhost:9200/_cat/indices/logstash-pro-apache-2014.03*?v'
And the pretty result:
{
"error" : "ClusterBlockException[blocked by: [FORBIDDEN/5/index read-only (api)];]",
"status" : 403
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.