OpenSearch/server
Armin Braun f82bb64feb
NETWORKING: Make RemoteClusterConn. Lazy Resolve DNS (#32764)
* Lazy resolve DNS (i.e. `String` to `DiscoveryNode`) to not run into indefinitely caching lookup issues (provided the JVM dns cache is configured correctly as explained in https://www.elastic.co/guide/en/elasticsearch/reference/6.3/networkaddress-cache-ttl.html)
   * Changed `InetAddress` type to `String` for that higher up the stack
   * Passed down `Supplier<DiscoveryNode>` instead of outright `DiscoveryNode` from `RemoteClusterAware#buildRemoteClustersSeeds` on to lazy resolve DNS when the `DiscoveryNode` is actually used (could've also passed down the value of `clusterName = REMOTE_CLUSTERS_SEEDS.getNamespace(concreteSetting)` together with the `List<String>` of hosts, but this route seemed to introduce less duplication and resulted in a significantly smaller changeset).
* Closes #28858
2018-08-18 08:46:44 +02:00
..
licenses Upgrade to Lucene-7.5.0-snapshot-13b9e28f9d 2018-08-09 11:15:02 -05:00
src NETWORKING: Make RemoteClusterConn. Lazy Resolve DNS (#32764) 2018-08-18 08:46:44 +02:00
build.gradle Scripted metric aggregations: add deprecation warning and system property to control legacy params (#31597) 2018-08-17 13:11:18 +01:00