Hi all,
I was running a cluster with 3 nodes, then I decided to replace these 3 nodes because they were under utilised.
So I added 3 fresh nodes with lower performance (especially disk space).
After the cluster stabilised, I fired the decommission API for a node, but it didn't do anything.
$ curl -X PUT http://master.node:9200/_cluster/settings -d '{ "transient" :{ "cluster.routing.allocation.exclude._ip" : "a.b.c.d" } }'The node is unaffected, it's shards are not getting relocated. I crosschecked with get API and it shows -
$ curl -X GET http://master.node:9200/_cluster/settings
Output
{
"persistent": {
"cluster": {
"routing": {
"allocation": {
"enable": "all",
"disable_allocation": "false"
}
}
}
},
"transient": {
"cluster": {
"routing": {
"allocation": {
"exclude": {
"_ip": "a.b.c.d"
}
}
}
}
}
}
What am I missing here, why this node is not getting decommissioned?