Software⏱️ 2 min read📅 2026-05-31

How to Fix: Elasticsearch error: cluster_block_exception [FORBIDDEN/12/index read-only / allow delete (api)], flood stage disk watermark exceeded

Elasticsearch error: cluster_block_exception due to disk watermark exceeded. Increase disk space or delete unnecessary data to resolve the issue.

Quick Answer: Increase disk space on the Elasticsearch node or delete unnecessary data to allow write operations.

Elasticsearch error: cluster_block_exception [FORBIDDEN/12/index read-only / allow delete (api)], flood stage disk watermark exceeded occurs when the Elasticsearch cluster's disk space is low, causing all indices on a node to be marked as read-only. This issue can be resolved by increasing the disk space of the Elasticsearch node or by optimizing the cluster's settings.

⚠️ Common Causes

  • Low disk space on Elasticsearch node

🚀 How to Resolve This Issue

Method 1: Increase Disk Space

  1. Step 1: Check the disk usage of the Elasticsearch node and increase its size if necessary.

Method 2: Optimize Cluster Settings

  1. Step 1: Check the Elasticsearch configuration and adjust settings such as the disk watermark threshold or the index block size.

💡 Conclusion

To avoid this issue in the future, regularly monitor the Elasticsearch cluster's disk space and adjust the settings accordingly. Additionally, consider implementing a monitoring system to detect potential issues before they become critical.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions