Help Center/ Cloud Search Service/ Troubleshooting/ Functions/ Failed to Insert Data into a Cluster Index
Updated on 2024-08-27 GMT+08:00

Failed to Insert Data into a Cluster Index

Symptom

I failed to insert data into a CSS cluster index and the error information is as follows.

Issue Analysis

When the disk usage exceeds 95%, Elasticsearch automatically sets the index to the read-only status to prevent the disk space from being used up.

Solution

  • For clusters in new versions (later than 7.10.2), the read-only mode is automatically disabled after the cluster disk usage decreases. You only need to free up space or expand the disk capacity.
  • For clusters in old versions, you need to manually change the index status by running the following command on Kibana:
    PUT /_all/_settings { "index.blocks.read_only_allow_delete": null }