Index read_only_allow_delete
can be set to true automatically when disk space is low.
This allows writing to indexes again:
curl -X PUT "http://localhost:9200/_all/_settings?pretty" -H 'Content-Type: application/json' -d'
{
"index.blocks.read_only_allow_delete": false
}
'
fixes error: