elasticsearch/docs/reference/modules
David Turner 9c100cdeae
Extend default probe connect/handshake timeouts (#68059)
Today the discovery phase has a short 1-second timeout for handshaking
with a remote node after connecting, which allows it to quickly move on
and retry in the case of connecting to something that doesn't respond
straight away (e.g. it isn't an Elasticsearch node).

This short timeout was necessary when the component was first developed
because each connection attempt would block a thread. Since #42636 the
connection attempt is now nonblocking so we can apply a more relaxed
timeout.

If transport security is enabled then our handshake timeout applies to
the TLS handshake followed by the Elasticsearch handshake. If the TLS
handshake alone takes over a second then the whole handshake times out
with a `ConnectTransportException`, but this does not tell us which of
the two individual handshakes took so long.

TLS handshakes have their own 10-second timeout, which if reached yields
a `SslHandshakeTimeoutException` that allows us to distinguish a problem
at the TLS level from one at the Elasticsearch level. Therefore this
commit extends the discovery probe timeouts.
2021-01-27 16:41:44 +00:00
..
cluster Expand docs on disk-based shard allocation (#65668) 2020-12-07 14:51:26 +00:00
discovery Extend default probe connect/handshake timeouts (#68059) 2021-01-27 16:41:44 +00:00
indices limit the depth of nested bool queries (#66204) 2021-01-12 09:36:09 -05:00
cluster.asciidoc [DOCS] Document dynamic cluster-lvl shard alloc settings (#61338) 2020-08-31 11:04:11 -04:00
discovery.asciidoc Dangling indices documentation (#58751) 2020-07-03 16:28:32 +01:00
gateway.asciidoc [DOCS] Document dynamic cluster settings (#61760) 2020-09-01 15:48:45 -04:00
http.asciidoc [DOCS] Fix wording for HTTP settings (#65964) 2020-12-07 12:18:55 -05:00
network.asciidoc Clarify network interface setting (#66013) 2020-12-09 08:41:34 +00:00
node.asciidoc [DOCS] Clarifies default ML and transform node settings (#67671) 2021-01-19 14:19:37 -08:00
plugins.asciidoc [DOCS] Relocate "Plugins" page (#54974) 2020-04-10 15:29:44 -04:00
remote-clusters.asciidoc [DOCS] Clarifying remote clusters based on feedback from Support (#62335) 2020-09-15 11:43:35 -04:00
threadpool.asciidoc Dedicated threadpool for system index writes (#61655) 2020-09-22 12:14:45 -06:00
transport.asciidoc [DOCS] Document dynamic cluster settings (#61760) 2020-09-01 15:48:45 -04:00