From 829d7e0be4281b739fb7ecede8c1047acf85be88 Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 29 Sep 2017 10:19:50 +0100 Subject: [PATCH] Nitpicking typos in comments --- .../org/elasticsearch/cluster/node/DiscoveryNode.java | 8 ++++---- .../org/elasticsearch/discovery/zen/ZenDiscovery.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java b/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java index 7940fe1bc7045..e631938f6f0dc 100644 --- a/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java +++ b/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java @@ -84,7 +84,7 @@ public static boolean isIngestNode(Settings settings) { *

* Note: if the version of the node is unknown {@link Version#minimumCompatibilityVersion()} should be used for the current * version. it corresponds to the minimum version this elasticsearch version can communicate with. If a higher version is used - * the node might not be able to communicate with the remove node. After initial handshakes node versions will be discovered + * the node might not be able to communicate with the remote node. After initial handshakes node versions will be discovered * and updated. *

* @@ -101,7 +101,7 @@ public DiscoveryNode(final String id, TransportAddress address, Version version) *

* Note: if the version of the node is unknown {@link Version#minimumCompatibilityVersion()} should be used for the current * version. it corresponds to the minimum version this elasticsearch version can communicate with. If a higher version is used - * the node might not be able to communicate with the remove node. After initial handshakes node versions will be discovered + * the node might not be able to communicate with the remote node. After initial handshakes node versions will be discovered * and updated. *

* @@ -121,7 +121,7 @@ public DiscoveryNode(String id, TransportAddress address, Map at *

* Note: if the version of the node is unknown {@link Version#minimumCompatibilityVersion()} should be used for the current * version. it corresponds to the minimum version this elasticsearch version can communicate with. If a higher version is used - * the node might not be able to communicate with the remove node. After initial handshakes node versions will be discovered + * the node might not be able to communicate with the remote node. After initial handshakes node versions will be discovered * and updated. *

* @@ -143,7 +143,7 @@ public DiscoveryNode(String nodeName, String nodeId, TransportAddress address, *

* Note: if the version of the node is unknown {@link Version#minimumCompatibilityVersion()} should be used for the current * version. it corresponds to the minimum version this elasticsearch version can communicate with. If a higher version is used - * the node might not be able to communicate with the remove node. After initial handshakes node versions will be discovered + * the node might not be able to communicate with the remote node. After initial handshakes node versions will be discovered * and updated. *

* diff --git a/core/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java b/core/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java index 249cce73765be..ba5d5213e1756 100644 --- a/core/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java +++ b/core/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java @@ -127,9 +127,9 @@ public class ZenDiscovery extends AbstractLifecycleComponent implements Discover private final TimeValue pingTimeout; private final TimeValue joinTimeout; - /** how many retry attempts to perform if join request failed with an retriable error */ + /** how many retry attempts to perform if join request failed with an retryable error */ private final int joinRetryAttempts; - /** how long to wait before performing another join attempt after a join request failed with an retriable error */ + /** how long to wait before performing another join attempt after a join request failed with an retryable error */ private final TimeValue joinRetryDelay; /** how many pings from *another* master to tolerate before forcing a rejoin on other or local master */