I have few doubts over shards rebalancing.
I have 5 node cluster, 2 data nodes and 3 master nodes. If one data node goes down permanently and I add a different node which contains a different IP.
- Will the unassigned shards to assigned to the newly added node?
- To achieve the above, what are the configuration changes that I am supposed to do? Do I have to mention the IP of the newly added node in discovery.zen.ping.unicast.hosts?
Case 2 :
Suppose I have 3 node cluster, two data nodes and one master node. Let's say it has around 500 shards in inclusion of primary and replica shards.
- When I add a new node,will the shards be rebalanced, by rebalance I mean will the existing shards be assigned to newly added node?