So I just set one of my read-only indexes, and now I want to remove it.
To install it read-only:
PUT my_index/_settings
{ "index": { "index.blocks.read_only" : true } }
When I tried to remove it, I got this answer:
ClusterBlockException[blocked by: [FORBIDDEN/5/index read-only (api)];]
Then I tried to set the index as readonly false:
PUT my_index/_settings
{ "index": { "index.blocks.read_only" : false } }
But this gives the same error message as above. So how to set readonly back to false?
source
share