OpenSearch/server/src
Yannick Welsch ffe114b890 Set specific keepalive options by default on supported platforms (#59278)
keepalives tell any intermediate devices that the connection remains alive, which helps with overzealous firewalls that are
killing idle connections. keepalives are enabled by default in Elasticsearch, but use system defaults for their
configuration, which often times do not have reasonable defaults (e.g. 7200s for TCP_KEEP_IDLE) in the context of
distributed systems such as Elasticsearch.

This PR sets the socket-level keep_alive options for network.tcp.{keep_idle,keep_interval} to 5 minutes on configurations
that support it (>= Java 11 & (MacOS || Linux)) and where the system defaults are set to something higher than 5
minutes. This helps keep the connections alive while not interfering with system defaults or user-specified settings
unless they are deemed to be set too high by providing better out-of-the-box defaults.
2020-07-28 11:10:04 +02:00
..
internalClusterTest/java/org/elasticsearch Fix Test Failure in testConcurrentlyChangeRepositoryContentsInBwCMode (#60095) 2020-07-27 09:33:38 +02:00
main Set specific keepalive options by default on supported platforms (#59278) 2020-07-28 11:10:04 +02:00
test Let `isInetAddress` utility understand the scope ID on ipv6 (#60172) (#60263) 2020-07-28 09:37:39 +02:00