Clear read only flag on indexes once disk space is available #34510
Labels
:Distributed/Allocation
All issues relating to the decision making around placing a shard (both master logic & on the nodes)
>enhancement
help wanted
adoptme
Currently elastic makes indexes read only if disk filled over 95% by setting flag on index:
index.blocks.read_only_allow_delete: true
Once we clean up the disk and space is available again - flag has to be cleared manually. For example like this:
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
It would be nice to have some automatic way to handle this situation.
Seems it would require some additional flag to tell us that this index was locked because of the low disk space and not explicitly by user.
The text was updated successfully, but these errors were encountered: