About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
When writes fail with a ClusterBlockException whose text reads index [logs-2026.12] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block; ...], a data node's disk has passed the flood-stage watermark. Elasticsearch has blocked writes to every index that has a shard on that node. Find the full node, free disk space, and the block releases itself once usage is below the high watermark. Deleting an index is the one step here that the delete index page gives no way to undo; the snapshot saved first is the only route back.
What the error means
In elastic/elasticsearch tag v8.19.0, IndexMetadata.java defines block number 12 with the description "disk usage exceeded flood-stage watermark, index has read-only-allow-delete block; for more information, see", followed by a documentation address the server adds. It carries the status TOO_MANY_REQUESTS and blocks writes. ClusterBlockException.java joins status, number and description into the form index [name] blocked by: [status/number/description];, which is the message you see.
Elastic's watermark page says the log carries Error: disk usage exceeded flood-stage watermark, index has read-only-allow-delete block. and adds that if the block affects related system indices, Kibana and other Elastic Stack features may become unavailable.
The shard allocation settings page defines the trigger: "Controls the flood stage watermark, which defaults to 95%." It also says Elasticsearch enforces the block on every index that has one or more shards on the node and that has at least one disk over the flood stage, and that the block "is automatically released when the disk utilization falls below the high watermark." The high watermark defaults to 90%.
A percentage watermark has a cap. The same page says the flood-stage max headroom defaults to 100GB when the flood-stage setting is not explicitly set, and the high max headroom to 150GB. The free space required is the smaller of the percentage and the cap.
The index blocks page adds a caution: "Do not set or remove this block yourself." The watermark page describes a temporary relief that raises the watermarks and removes the block through an index settings update. The index blocks page says not to set or remove this block yourself, while the watermark page's temporary relief does remove it. The block exists so the node cannot fill completely, and raising the thresholds without freeing space moves the node closer to a full disk.
Likely causes
| Cause | What you see | How to confirm |
|---|---|---|
| Data growth took one node past the flood stage | disk.percent is at or above the flood-stage value |
GET _cat/allocation?v=true |
| Other files fill the same disk | disk.used is far above disk.indices |
Compare the two columns; the page says disk.used includes the node's OS and "Any other applications or files on the node" |
| Shards cannot move to other nodes | The node stays full while others have room | The cluster allocation explain API, as the watermark page advises |
| The watermarks were set to lower values | Blocks start earlier than 95% | GET _cluster/settings shows explicit watermark settings |
| Space was freed, but not enough | Usage is under 95% but over 90%, and writes still fail | The block releases only below the high watermark |
Prove the cause before changing anything
All of these only read.
- See which node is full and why. The cat allocation page defines
disk.indicesas "Disk space used by the node’s shards" anddisk.usedas "Total disk space in use":
GET _cat/allocation?v=true
Compare disk.percent with 95, the default flood stage, and compare disk.used with disk.indices. They can differ for reasons that are not Elasticsearch data, and the page notes that disk.indices double-counts hard-linked files, for example after shrinking or cloning an index.
- Read the settings that were set explicitly. By default the API returns only those:
GET _cluster/settings
- List the biggest indices, largest first. The cat page shows this form of the sort parameter:
GET _cat/indices?bytes=b&s=store.size:desc,index:asc&v=true
- Watch whether shards are moving off the node. The watermark page names the cat shards and cat recovery APIs for this:
GET _cat/shards?v=true
GET _cat/recovery?v=true&active_only=true
Fix
Elastic's watermark page lists the permanent actions: scale nodes of the affected tier out, scale nodes up to add disk, delete indices, or move indices on through their lifecycle policy to a later tier. Space taken by other files on the same disk counts as well, and clearing those is a task outside Elasticsearch.
When the node drops below the high watermark, the block goes by itself. On the page's own description, Elasticsearch also tries to rebalance shards away from the affected node.
Delete an index that is no longer needed
The index blocks page says a block on an index still allows deleting the whole index, and the watermark page lists deleting indices as a permanent action. Choose an index whose data you have agreed to lose or that exists elsewhere.
First save the current state, a snapshot of that index to a repository on different storage from the full disk (the create snapshot page shows this call with an indices list):
PUT _snapshot/my_repository/logs-2026-09-before-delete?wait_for_completion=true
{
"indices": "logs-2026.09",
"include_global_state": false
}
Read the snapshot response before you go on: with wait_for_completion=true it returns when the snapshot is complete. Do not delete the index if the snapshot request returned an error.
Risk: the next command deletes the index logs-2026.09. The delete index page says "Deleting an index deletes its documents, shards, and metadata", and the page gives no way to undo it. Only the snapshot saved above can bring the data back. Anything that reads or writes that index fails afterwards.
Delete exactly that index by name. Wildcards are not accepted by default on the delete index page:
DELETE /logs-2026.09
Only if you need to back out: the _restore call on the restore page brings the index back from the snapshot saved above, and writes its shards onto the nodes, which can bring the block back if space is short.
Risk: the restore writes the index's shards back onto the nodes. If the node is still close to the high watermark, the restored data can take it back over the flood stage, and the block returns.
Restore only when GET _cat/allocation?v=true shows usage low enough to hold the index's size and still sit below the high watermark:
POST _snapshot/my_repository/logs-2026-09-before-delete/_restore
{
"indices": "logs-2026.09"
}
Then run GET _cat/indices/logs-2026.09?v=true and check that the index is listed.
Example (illustrative): es01 has a 500GB data disk and default settings. The flood stage is 95%, which is 5% free, 25GB (5% of 500GB). That is below the 100GB cap, so the cap does not apply, and writes stop when more than 475GB is used. The high watermark is 90%, so the block releases below 450GB used. _cat/allocation?v=true shows 478GB used, disk.percent 95.6, and disk.indices close to 478GB, so the data is Elasticsearch's own. _cat/indices shows logs-2026.09 at 40GB, and the team has agreed that month is no longer needed online. They snapshot it to my_repository on other storage, delete it, and es01 falls to 478 - 40 = 438GB, which is 87.6% and below 450GB. Writes work again with no further command.
Confirm the fix
GET _cat/allocation?v=trueshowsdisk.percentbelow the high watermark, 90 by default.- A write to an affected index succeeds and returns no
blocked byerror. - If an index still carries the block, read
disk.percentagain. The block releases only below the high watermark, and the cluster allocation explain API shows why shards still sit on the node. - Kibana, if it reported "Kibana Server is not Ready yet", recovers once its system indices accept writes again.
What to watch afterwards
- Alert before the flood stage. For Elasticsearch Service, Elastic Cloud Enterprise and Elastic Cloud on Kubernetes, Elastic's page suggests stack monitoring alerts so you are told before it is reached.
- Keep the repository, backups and logs off the data disk.
- Check lifecycle policies, so old indices leave the tier before it fills.
- When explicit watermarks are set, set the max headroom values too. The page says they have their default values only when the watermark itself is not explicitly set.
- Check that percentage and byte values are not mixed across the low, high and flood-stage settings. The page says all three must be one kind.
Read next
Related articles you may want next.
- TroubleshootingElasticsearch cluster health red or yellow: find the unassigned shards and read the allocation explanationElasticsearch cluster status red or yellow? List UNASSIGNED shards, read the allocation explain API, and fix the named cause without losing data.Read article
- TroubleshootingLinux Says No Space Left but Bytes Are Free: Check Inodes and QuotasDistinguish inode exhaustion, quota limits and checking the wrong mount before any cleanup.Read article
- Backup & RecoveryElasticsearch and OpenSearch snapshots: repositories, what is included, and the version rules for restoreHow Elasticsearch and OpenSearch snapshots work: repositories, contents, version compatibility, restore conflicts, security data and what to back up separately.Read article
Risks and limits
- These commands have not been run or lab-tested.
- Deleting an index removes its data from the cluster. The snapshot is the only way back, so check the response of the snapshot request before you delete. With
wait_for_completion=truethe create snapshot page says the request responds once the snapshot is complete. - A restore needs free space. Without it the restore can bring the block back.
- The Elasticsearch 8.19 pages say the documentation is no longer updated, and newer releases may behave differently.
Sources
- Fix watermark errors — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- Cluster-level shard allocation and routing settings — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- Index blocks — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- cat allocation API — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- Compact and aligned text (CAT) APIs — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- cat indices API — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- Cluster get settings API — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- Delete index API — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- Create snapshot API — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- Restore a snapshot — Elasticsearch Guide 8.19, no date shown, accessed 3 December 2026
- IndexMetadata.java — elastic/elasticsearch source, tag v8.19.0, no date shown, accessed 3 December 2026
- ClusterBlockException.java — elastic/elasticsearch source, tag v8.19.0, no date shown, accessed 3 December 2026
This article was originally published on .