Flood stage disk watermark exceeded on all indices on this node will be marked read-only – How to solve this OpenSearch error

Opster Team

Aug-23, Version: 1-1.1

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your OpenSearch operation.

Briefly, this error occurs when the disk usage on an OpenSearch node exceeds the “flood stage” watermark, which is a set threshold (usually 95%). When this happens, OpenSearch automatically sets all indices on the node to read-only to prevent further data ingestion and potential data loss. To resolve this issue, you can either increase your disk space, delete unnecessary data, or adjust the disk watermark thresholds. However, be cautious with the latter as it might lead to disk filling up completely. After freeing up space, you need to manually reset the read-only block on indices.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

This guide will help you check for common problems that cause the log ” flood stage disk watermark [{}] exceeded on {}; all indices on this node will be marked read-only ” to appear. To understand the issues related to this log, read the explanation below about the following OpenSearch concepts: cluster, allocation, indices, routing, node.

Log Context

Log “flood stage disk watermark [{}] exceeded on {}; all indices on this node will be marked read-only” classname is DiskThresholdMonitor.java.
We extracted the following from OpenSearch source code for those seeking an in-depth context :

                        indicesToMarkReadOnly.add(indexName);
                        indicesNotToAutoRelease.add(indexName);
                    }
                }

                logger.warn("flood stage disk watermark [{}] exceeded on {}; all indices on this node will be marked read-only";
                    diskThresholdSettings.describeFloodStageThreshold(); usage);

                continue;
            }

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Get expert answers on Elasticsearch/OpenSearch