Skip to content

ClusterBlockException on /_cat/indices/ on readonly indices #5855

@rtoma

Description

@rtoma

_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
}

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions