Sounds like you just need to give ES some time to rebalance.

Otherwise look at this, maybe you can adapt it to suit -
http://blog.sematext.com/2012/05/29/elasticsearch-shard-placement-control/

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: [email protected]
web: www.campaignmonitor.com


On 1 April 2014 19:10, Pedro Plaza García <[email protected]> wrote:

> Our problem is not that no other nodes are not promoted to primary when
> the node is down, Our problem is that when the node is down and after is
> up, sometimes the node is out of primary shards. This problem cause that
> the swing of charge is not swing across this node. we need that all nodes
> contain the same number of primary shards so that the load swings to all
> nodes.
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/9d675854-340b-4787-854a-958af5e98d73%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/9d675854-340b-4787-854a-958af5e98d73%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624Ysi3p10m8%3Dsce4pu_X96qWomE%2BccA3950spby1QTyEVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to