# Automatic setting of read\_only\_allow\_delete

**URL:** <https://discuss.elastic.co/t/automatic-setting-of-read-only-allow-delete/276525>\
**Category:** Elasticsearch\
**Created:** [June 21, 2021, 10:41am UTC](https://discuss.elastic.co/t/automatic-setting-of-read-only-allow-delete/276525 "2021-06-21T10:41:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kfehrenbach](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@kfehrenbach](https://discuss.elastic.co/u/kfehrenbach)\
**Post date:** [June 21, 2021, 10:41am UTC](https://discuss.elastic.co/t/automatic-setting-of-read-only-allow-delete/276525/1 "2021-06-21T10:41:08Z")

</div>

We're running elasticsearch version 6.8.8 and 7.7. In both clusters we observed the bahaviour, that the cluster is setting the parameter read\_only\_allow\_delete to true as soon as the fllod stage is reached for some of the indices. The reason is clear to us: During merging the index segments the disk space went near 100% and therefore the parameter was automatically set to true.

BUT: Is there any reason why after merging is done and disk space is (at least 85%) free again the parameter is not set to false automatically?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 21, 2021, 1:10pm UTC](https://discuss.elastic.co/t/automatic-setting-of-read-only-allow-delete/276525/2 "2021-06-21T13:10:10Z")

</div>

Since Elasticsearch 7.4 those should be automatically released, see [Breaking changes in 7.4 | Elasticsearch Guide [7.13] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.4.html#_auto_release_of_read_only_allow_delete_block)

Can you ensure that the one setting is not accidentally set under Elasticsearch 7.7? If that still keeps happening ,that sounds like a bug to me.

---

<div class="post-metadata">

**Author:** ![kfehrenbach](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@kfehrenbach](https://discuss.elastic.co/u/kfehrenbach)\
**Post date:** [June 21, 2021, 8:09pm UTC](https://discuss.elastic.co/t/automatic-setting-of-read-only-allow-delete/276525/3 "2021-06-21T20:09:06Z")

</div>

Thanks a lot!! I will check the 7.7 cluster once again, maybe there was a misconfiguration on our side.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 19, 2021, 8:09pm UTC](https://discuss.elastic.co/t/automatic-setting-of-read-only-allow-delete/276525/4 "2021-07-19T20:09:34Z")

</div>

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