You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PUT stuff/_settings
{
"index.blocks.read_only": null
}
Still kind of surprising that we wouldn't allow setting it to false, simply inverting the flag used to make the index readonly.
Or maybe require a fully specified index.blocks.read_only: true to set it in the first place.
matschaffer
changed the title
Unable to remove index write block
blocks.read_only: true allowed, but not blocks.read_only: false - setting required only for removal
Jan 31, 2022
matschaffer
changed the title
blocks.read_only: true allowed, but not blocks.read_only: false - setting required only for removal
Confusing blocks.read_only behavior for index write blocking
Jan 31, 2022
Elasticsearch Version
8.0 branch - 655669b
Installed Plugins
No response
Java Version
bundled
OS Version
macos
Problem Description
If set
blocks.read_only
on an index totrue
, attempting to set it back tofalse
fails due toFORBIDDEN/5/index read-only (api)
Steps to Reproduce
Logs (if relevant)
The text was updated successfully, but these errors were encountered: