Read_only_allow_delete always set on true


(Persei) #1

Hello,
I have problem
{
"error": {
"root_cause": [
{
"type": "cluster_block_exception",
"reason": "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
}
],
"type": "cluster_block_exception",
"reason": "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
},
"status": 403
}

I set
PUT /new-index/_settings
{
"index.blocks.read_only_allow_delete": false
}

But i have only 3-5 secound read_only_allow_delete set on false, after that time i still have true. My _settings response:

{
"new-index": {
"settings": {
"index": {
"number_of_shards": "5",
"blocks": {
"read_only_allow_delete": "true"
},
"provided_name": "new-index",
"creation_date": "1515443237975",
"analysis": {
"filter": {
"ngram_filter": {
"type": "ngram",
"min_gram": "2",
"max_gram": "4"
}
},
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
},
"analyzer": {
"ngram_analyzer": {
"filter": [
"ngram_filter"
],
"type": "custom",
"tokenizer": "standard"
}
}
},
"number_of_replicas": "1",
"uuid": "vZGC3HOfQ4OyT6rP4gi5Gg",
"version": {
"created": "6010199"
}
}
}
}
}

Thanks


(system) #2

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