You really should upgrade as a matter of urgency. That version is ancient, it reached the end of its supported life 18 months ago. In more recent versions the read_only_allow_delete block is removed automatically.
I don't think you are describing what you saw accurately. Elasticsearch doesn't auto-close indices. What makes you think it was closed?
Well, upon ES startup, the index is in "Closed" state.
I guess for now we will just avoid doing Elasticsearch restart and watch closely on this behavior until we upgraded to ES7.
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.