Zen vs ec2 vs fd


(Jason-7) #1

Hi All,

  1. If my discovery type is ec2, which of the following settings are
    actually in effect?

discovery.zen.ping_timeout: 60s
discovery.zen.fd.ping_timeout: 60s
discovery.ec2.ping_timeout: 60s
discovery.ec2.fd.ping_timeout: 60s

  1. what's the difference between discovery.zen.ping_timeout and
    discovery.zen.fd.ping_timeout? Is one just a typo that got propagated on
    the web?

Thanks in advance,

Jason

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ecfd28da-ffd3-4ae8-83ee-7c457a9e53e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jason-7) #2

To answer my own question #2:

discovery.zen.ping_timeout: timeout for master selection.

discovery.zen.fd.ping_timeout: timeout for fault detection.

So question #1 is now:

If discovery type is set to ec2, which is
correct? discovery.ec2.fd.ping_timeout or discovery.zen.fd.ping_timeout?

Thanks,

Jason

On Tuesday, May 6, 2014 3:43:08 PM UTC-7, Jason wrote:

Hi All,

  1. If my discovery type is ec2, which of the following settings are
    actually in effect?

discovery.zen.ping_timeout: 60s
discovery.zen.fd.ping_timeout: 60s
discovery.ec2.ping_timeout: 60s
discovery.ec2.fd.ping_timeout: 60s

  1. what's the difference between discovery.zen.ping_timeout and
    discovery.zen.fd.ping_timeout? Is one just a typo that got propagated on
    the web?

Thanks in advance,

Jason

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #3

The following timeouts are set in Zen

Discovery:
discovery.zen.initial_state_timeout (30s) - waiting for the initial state
set by discovery
discovery.zen.publish_timeout (30s) - waiting for publishing state

Node and master detection:
discovery.zen.ping_interval (1s) - interval for pinging
discovery.zen.ping_timeout (30s) - waiting for response
discovery.zen.ping_retries (3) - how many retries before timeout

Node and master fault detection:
discovery.zen.fd.ping_interval (1s) - interval for pinging
discovery.zen.fd.ping_timeout (30s) - waiting for response
discovery.zen.fd.ping_retries (3) - how many retries before timeout

The "discovery.zen.fd" component settings can override the "discovery.zen"
settings, for example, if you want to wait only a short time for detecting
new nodes before timeout (faster node startup), but a longer time for
non-responsive nodes before a faulty node is reported. In most cases, you
do not need to set timeouts in "discovery.zen.fd", it will simply inherit
from "discovery.zen" settings.

Jörg

On Wed, May 7, 2014 at 1:15 AM, Jason jason@jasonwang.com wrote:

To answer my own question #2:

discovery.zen.ping_timeout: timeout for master selection.

discovery.zen.fd.ping_timeout: timeout for fault detection.

So question #1 is now:

If discovery type is set to ec2, which is
correct? discovery.ec2.fd.ping_timeout or discovery.zen.fd.ping_timeout?

Thanks,

Jason

On Tuesday, May 6, 2014 3:43:08 PM UTC-7, Jason wrote:

Hi All,

  1. If my discovery type is ec2, which of the following settings are
    actually in effect?

discovery.zen.ping_timeout: 60s
discovery.zen.fd.ping_timeout: 60s
discovery.ec2.ping_timeout: 60s
discovery.ec2.fd.ping_timeout: 60s

  1. what's the difference between discovery.zen.ping_timeout and
    discovery.zen.fd.ping_timeout? Is one just a typo that got propagated on
    the web?

Thanks in advance,

Jason

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFu-VHtstYXpUVGugdamCbQN7zrfj7SXd90oD-%2BHUXYaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4