How to restart collection after high disk watermark

Elasticsearch stop collection after high disk watermark.
After cleanup the disk, I want to restart collection.

Some years ago on version 6.8.23-1 I use:
curl -X PUT "http://127.0.0.1:9200/settings?pretty" -H 'Content-Type: application/json' -d '{"index": {"blocks": {"read_only_allow_delete": "false"}}}' { "acknowledged" : true, "shards_acknowledged" : true, "index” : “settings" }

But now on version 7.10.2 this does work.

How can I restart the collection in version 7.10.2?

Try it on all indices like this


curl -X PUT "localhost:9200/*/_settings?pretty" -H 'Content-Type: application/json' -d'
{
  "index.blocks.read_only_allow_delete": null
}
'

The answer of the command is:
{
"acknowledged" : true
}

I will check the result.
Elasticsearch collects again.
Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.