Hi ,
I am receiving the following exception:
org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];]
at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177)
at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:1406)
This means that at least for an instance the free disk space was higher than 95% (default settings). I am unlocking the indexes like that: curl -u a_username:******* -H 'Content-Type: application/json' -XPUT 'http://>:9200/_all/_settings' -d '{"index.blocks.read_only_allow_delete": null}'
I would like to know:
- If there is an easy way to know if ANY index is currently locked.
- I have only one node. If I disable the locking mechanism by setting
cluster.routing.allocation.disk.threshold_enabledtofalse(Disk-based Shard Allocation) am I risking anything except from the obvious fact that if the disk is full then I may loose data.
Thank you