OpenSearch/docs/reference/modules
Jason Tedor 9dc65037bc Lazy resolve unicast hosts
Today we eagerly resolve unicast hosts. This means that if DNS changes,
we will never find the host at the new address. Moreover, a single host
failng to resolve causes startup to abort. This commit introduces lazy
resolution of unicast hosts. If a DNS entry changes, there is an
opportunity for the host to be discovered. Note that under the Java
security manager, there is a default positive cache of infinity for
resolved hosts; this means that if a user does want to operate in an
environment where DNS can change, they must adjust
networkaddress.cache.ttl in their security policy. And if a host fails
to resolve, we warn log the hostname but continue pinging other
configured hosts.

When doing DNS resolutions for unicast hostnames, we wait until the DNS
lookups timeout. This appears to be forty-five seconds on modern JVMs,
and it is not configurable. If we do these serially, the cluster can be
blocked during ping for a lengthy period of time. This commit introduces
doing the DNS lookups in parallel, and adds a user-configurable timeout
for these lookups.

Relates #21630
2016-11-22 14:17:04 -05:00
..
cluster Docs: Cluster Allocation Filtering 2016-10-17 11:02:33 +11:00
discovery Lazy resolve unicast hosts 2016-11-22 14:17:04 -05:00
indices Convert more docs to CONSOLE 2016-09-21 09:36:21 -04:00
scripting Remove a bad callout from the new debugging docs 2016-11-22 13:13:16 -05:00
cluster.asciidoc Fix typo in cluster module docs 2016-07-12 16:32:23 -04:00
discovery.asciidoc [DOCS] add azure and gce discovery plugins 2014-02-06 09:18:42 +01:00
gateway.asciidoc Update gateway.asciidoc (#19572) 2016-07-28 13:09:05 +02:00
http.asciidoc Clarifies the documentation for the `http.cors.enabled` setting (#19890) 2016-08-09 12:54:38 -05:00
indices.asciidoc Fix doc build. 2016-06-22 09:34:49 +02:00
memcached.asciidoc Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
network.asciidoc Update network.asciidoc 2016-07-08 17:13:10 +02:00
node.asciidoc Fix typos (#21456) 2016-11-10 11:55:04 +01:00
plugins.asciidoc Docs: Prepare plugin and integration docs for 2.0 2015-08-15 18:02:43 +02:00
scripting.asciidoc Add Debug.explain to painless 2016-11-22 12:46:02 -05:00
snapshots.asciidoc Docs: note about snapshot version compatibility (#20896) 2016-10-13 10:49:32 -04:00
threadpool.asciidoc Add doc note regarding processors bound 2016-10-14 10:32:31 -04:00
thrift.asciidoc Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
transport.asciidoc Remove LocalTransport in favor of MockTcpTransport (#20695) 2016-10-07 11:27:47 +02:00
tribe.asciidoc Remove custom plugins path 2016-05-26 10:16:25 -04:00