Cluster Routing Allocation Settings


(xavi) #1

We have a cluster of two nodes (ES 2.2), indexes have one replica so all shards are in both nodes. If we restart a node, all shards in that node are set as unasigned, we think this can be resolved with

"transient": {
"cluster": {
"routing": {
"allocation": {
"enable": "none"

but we don't understand the meaning of another parameter disable_allocation": "false"? is from another version?

how can then reset transient settings?

thanks


(Mark Walkom) #2

It won't prevent that, you will still have half of your shards unassigned.

It's the same thing, just an older variant/

That's difficult until 5.X, so you should upgrade.


(xavi) #3

Thansk for the response, can we prevent " all shards in that node are set as unasigned" in another way?
so we have no shards unassigned, or at least a big % of them?


(Mark Walkom) #4

Don't shut down the node, or add more nodes.


(system) #5

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