For When You Can't Have The Real Thing
[ start | index | login ]
start > elasticsearch > 6.6.0 > Recover from full disk >

elasticsearch/6.6.0/Recover from full disk

Created by dave. Last edited by dave, 5 years and 29 days ago. Viewed 1,314 times. #1
[edit] [rdf]
labels
attachments
(2019-02-19)

Problem

Elasticsearch is returning index queries with barfs like

{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}

Solution

Disk is beyond Elasticsearch's safety boundary. Indexes are put into read-only mode at this point.

Once you've dealt with the disk space issue (cleaned up, added more, whatever), you need to turn the indexing back into read-write mode:

# curl -XPUT -H "Content-Type: application/json" >>http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

(>>Source)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt