ElasticSearch Disk Usage Exceeded Flood Stage Watermark

How To Solve ElasticSearch Disk Usage Exceeded Flood Stage Watermark

這篇介紹How To Solve ElasticSearch Disk Usage Exceeded Flood Stage Watermark。

錯誤訊息

1
2
3
4
5
6
7
8
{"took":59464,"timed_out":false,"total":1,"updated":0,"deleted":0,"batches":1,
"version_conflicts":0,"noops":0,"retries":{"bulk":11,"search":0},
"throttled_millis":0,"requests_per_second":-1.0,"throttled_until_millis":0,
"failures":[{"index":"index-2022.08.17",
"type":"_doc","id":"Mexico-512-GA132880061","cause":{"type":"cluster_block_exception",
"reason":"index [index-2022.08.17]
blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark,
index has read-only-allow-delete block];"},"status":429}]}

解決方法

1
ElasticSearch硬碟滿了,需去砍資料及重新設定資料保留天數!