Don't forget gateway.expected_nodes :) "Wouldn't the value increase as you add more nodes?"
It will, which is precisely why the value is not computed automatically. The value can decrease/increase over time, but the cluster does not know if this is because it is on purpose or because of failures. The suggested (n/2)+1 formula breaks down if n is constantly changing. With 10 nodes, it is suggested to use the value of 6 (10/2+1) for the minimum number of nodes. But if 5 nodes crash, then the suggested value is now 3 (5/2+1), but clearly 3 is not the value we want, we want 6. Cheers, Ivan On Tue, Jan 14, 2014 at 2:58 PM, Mark Walkom <[email protected]>wrote: > Nope. > > Regards, > Mark Walkom > > Infrastructure Engineer > Campaign Monitor > email: [email protected] > web: www.campaignmonitor.com > > > On 15 January 2014 09:48, Mohit Anchlia <[email protected]> wrote: > >> But today elasticsearch doesn't do this automatically? >> >> On Tue, Jan 14, 2014 at 2:17 PM, InquiringMind >> <[email protected]>wrote: >> >>> >>> *Wouldn't the value increase as you add more nodes?* >>> >>> >>> Indeed, it most certainly will. >>> >>> And with unicast discovery, each node will need to be told about the new >>> node. Which is the perfect time to tell it about the newly calculated >>> minimum number of masters. >>> >>> Brian >>> >>> -- >>> 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/54e31afb-ea7f-4854-b970-f534505775cd%40googlegroups.com >>> . >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> 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/CAOT3TWq_iK7dFfooQt7HLgZ77WjhZUMV%3DDTtKOSEcU-fWK0-xw%40mail.gmail.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > 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/CAEM624a-47F_w7e0u2jaURfiPiHGL-p5M8-UD1qOe0bMqFKvuA%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CALY%3DcQCMrYAFBv%2BnRCMRYbev0bEaTPHswuUyEBsFvHS8XzKKvA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
