Experiencing an issue with two indices that were somehow marked as read-only and now I'm unable to remove that restriction. Here is what I have tried and the result:
This issue is preventing my automatic Curator job from performing a cleanup on all indices alphabetically after this one and might be the cause of a mapping conflict that I'm seeing with this index pattern in Kibana.
I can't remember which version they fixed this in, but I recall there being a change that allowed you to unset the read-only flag. Older versions (and again, I'm not sure where the cutoff is) did not allow you to unset read-only once set, resulting in an error message like the one you're showing.
Have you tried an outright:
PUT /indexname/_settings
{
"index.blocks.read_only": false
}
...to set the index back to full read/write capacity?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.