high_disk_watermark_exceeded: high disk watermark [90%] exceeded / flood stage disk watermark [95%] exceeded(ディスクウォーターマークの超過)
Elasticsearch意味
ノードのディスク使用量が high ウォーターマーク (デフォルト 90%) または flood stage (デフォルト 95%) のしきい値を超えた。high ウォーターマークを超えると、Elasticsearch はそのノードから他のノードへシャードの移動を試みる。flood stage を超えると、インデックスを読み取り専用にする。
原因
ディスクが満杯になりつつある: 増え続けるログ/メトリクスのインデックス、削除されない古いインデックス、整理されていないスナップショットリポジトリ、小さすぎるディスク、または偏ったシャード配置による単一ノードの過剰な使用。
対処方法
ディスク使用量を調べる: GET _cat/allocation?v。古いインデックスを削除するかスナップショットを取得して削除し、ディスクを拡張する。一時的にしきい値を引き上げることもできる (慎重に。8.x では max_headroom の検証があるため 3 つすべてを同時に設定する): PUT _cluster/settings {"persistent":{"cluster.routing.allocation.disk.watermark.low":"88%","cluster.routing.allocation.disk.watermark.high":"93%","cluster.routing.allocation.disk.watermark.flood_stage":"96%"}}。解決したら、同じ設定を null にしてデフォルトに戻す (transient 設定は非推奨のため使わない)。恒久対応: ILM によるライフサイクル管理、定期的なインデックスの整理、容量計画。flood stage によりインデックスが読み取り専用になった場合は、ブロックを別途解除する。
同じデータベースの他の項目
- cluster_block_exceptionClusterBlockException[blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block]] (7.x より前: FORBIDDEN/12/index read-only / allow delete (api))
- index_read_only_allow_deleteTOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block (旧形式: FORBIDDEN/12/index read-only / allow delete (api))
- circuit_breaking_exceptionCircuitBreakingException[[parent] Data too large, data for [<...>] would be [...], which is larger than the limit of [...]](データが大きすぎる (サーキットブレーカー))
- mapper_parsing_exceptionmapper_parsing_exception: failed to parse field [...] of type [...](フィールドの解析に失敗)
- strict_dynamic_mapping_exceptionstrict_dynamic_mapping_exception: mapping set to strict, dynamic introduction of [...] within [...] is not allowed(strict マッピングで新しいフィールドの動的追加は不可)
- illegal_argument_exception_fielddataillegal_argument_exception: Fielddata is disabled on text fields by default. Set fielddata=true on [your_field] in order to load fielddata in memory(text フィールドの fielddata はデフォルトで無効)