Suppose I have a 2 node cluster and I create a new index with a single

shard. Which node is assigned the new index? What is the algorithm? Does

the algorithm take into consideration how much local disk space available

(when using a local gateway)? Does the algorithm take into consideration

how many open indices are associated with each node? Does the algorithm

take into consideration how many closed indices are associated with each

node?

The aim is to have even number of shards (of open indices) across all

nodes. Disk space is not taken into account.

On Tue, Jan 17, 2012 at 12:52 AM, Derrick derrickrburns@gmail.com wrote:

Suppose I have a 2 node cluster and I create a new index with a single

shard. Which node is assigned the new index? What is the algorithm? Does

the algorithm take into consideration how much local disk space available

(when using a local gateway)? Does the algorithm take into consideration

how many open indices are associated with each node? Does the algorithm

take into consideration how many closed indices are associated with each

node?