Index got locked

Jan 19, 2024 @ 12:17 PM

PUT /*/_settings
{
  "index": {
    "blocks.read_only": false,
    "blocks.read_only_allow_delete": null,
    "blocks.write": true
  }
}

The run the above. The blocks.write: true block all index and i am unable to send logs to ES. I tried to run the following to no aval

PUT /*/_settings
{
  "index": {
    "blocks.read_only": false,
    "blocks.read_only_allow_delete": null,
    "blocks.write": null // also tried false
  }
}

I got the following error please help.

#! Your license will expire in [5] days. Contact your administrator or update your license for continued use of features
{

"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "illegal value can't update [index.blocks.write] from [true] to [false]"
}
],
"type": "illegal_argument_exception",
"reason": "illegal value can't update [index.blocks.write] from [true] to [false]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "Cannot remove write block from searchable snapshot index"
}
},
"status": 400
}

Hi,

Attempt a similar PUT operation, but refrain from using it on searchable snapshot indices. These indices are designed to be read-only, indicating that any attempts to write to them are prohibited. This restriction is enforced by a write block that cannot be lifted.

Regards

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.