kibana – Elasticsearch index crashes
When the delete phase policy must delete the last index, it does not delete it and also adds the alias again.
I look at the aliases and i see clearly that it creates an alias conflict and my current index is blocked
GET _aliases
"index-000113" : {
"aliases" : {
"index" : { }
}
},
"index-000114" : {
"aliases" : { }
},
"index-000115" : {
"aliases" : { }
},
"index-000116" : {
"aliases" : {
"index" : { }
}
},
My configuration have 3 nodes , 1 master and 2 slaves.
My solution is to manually delete the index that should be deleted by the deletion policy
POST _aliases
{
"actions": [
{
"remove": {
"index": "index-000113",
"alias": "index"
}
}
]
}
My last shard Activity in kibana
index-000113
Shard: 0 / Replica
Recovery type: Peer
Done
(node01 > node03)
index-000113
Shard: 0 / Primary
Recovery type: Existing_store
Done
(n/a > node03)
It seems that the last activity has something to do with it that I don’t know what it means.
anyone know why it happens and any solution?
I looked in the official documentation but i can’t find why happens.
Read more here: Source link
