【ElasticSearch】异常错误

【ElasticSearch】异常错误

================================================================

1、磁盘满了造成 Elasticsearch 成为只读

================================================================

1、磁盘满了造成 Elasticsearch 成为只读

把磁盘重新扩容后还抱下面的错

blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]

把多有的索引设置为非只读 https://www.elastic.co/guide/en/elasticsearch/reference/current/disk-allocator.html

curl -XPUT -H "Content-Type: application/json" http://127.0.0.1:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
原文地址:https://www.cnblogs.com/yangchongxing/p/12919590.html