Hi all, Shay,
can we force a re-balance of shards and replicas over nodes ?
Currently, I have 7 nodes for three indices, each with 64 shards + 2
replicas (total: 576 shards)
And the distribution is not homogen:
inet[/10.12.11.18:9300] has 82 shards or replicas: indice1(61), indice2(21)
inet[/10.11.11.15:9300] has 83 shards or replicas: indice1(19),
inet[/10.11.11.17:9300] has 82 shards or replicas: indice1(15),
inet[/10.12.11.17:9300] has 83 shards or replicas: indice1(49),
inet[/10.12.11.16:9300] has 82 shards or replicas: indice1(34),
inet[/10.11.11.16:9300] has 82 shards or replicas: indice1(14),
inet[/10.11.11.18:9300] has 82 shards or replicas:
problem is that indice3 is bigger than others (30 times bigger), and I
would prefer to have it distributed on all nodes instead of having 59
shards/replicas on latest node, and nothing on first node.
It's a test cluster, so no big problems for the moment, but for
production, I prefer to know if it's possible or not.
Another question about distribution: is it possible to choose the
distribution of shard and related replicas ? to put replicas on nodes
which are on different subnets for example ?
It will be part of mutli-datacenter deployment, to be able to have ES
ready even if one datacenter is entirely down.