OpenSearch can enforce read-only states on clusters or indices to protect against issues like low disk space or cluster instability.
Steps to resolve the 'cluster.blocks.read_only' setting: Free up disk space, Clear the read-only block.
Steps to resolve index-level read-only block: Identify the affected indices, Clear the block for an individual index or for multiple indices using a wildcard.
Steps to resolve the 'cluster.blocks.read_only_allow_delete' block: Free up disk space, Clear the read_only_allow_delete block.
Steps to resolve index-level read-only delete block: Check index settings, Remove the block for a specific index or for all indices.
Understanding and resolving read-only blocks in OpenSearch is crucial for restoring normal operations.