I am try to reduce the number of shards on my cluster.
But there have multi data.path in my elasticsearch.yml file.
I saw this post Curator fails to shrink index
I know it is hard to do it.
But when I manually run the shrink API , it works.
Here is the step:
PUT /test1/_settings
{
"settings": {
"index.routing.allocation.require._name": "ServerA",
"index.blocks.write": true
}
}
POST test1/_shrink/test1_shrink
{
"settings": {
"index.routing.allocation.require._name": null,
"index.blocks.write": null
}
}
Is curator going to support this or is there another solution I can try on ?