From 1a0ee00fbbf7c7a6bf047574a5273dfe44949242 Mon Sep 17 00:00:00 2001 From: kimchy Date: Wed, 8 Jun 2011 19:00:02 +0300 Subject: [PATCH] change logging statement to indicate ping_timeout, not initial_ping_timeout --- .../org/elasticsearch/discovery/zen/ZenDiscovery.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java b/modules/elasticsearch/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java index a92b889cfe6..954401e040f 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java @@ -21,7 +21,11 @@ package org.elasticsearch.discovery.zen; import org.elasticsearch.ElasticSearchException; import org.elasticsearch.ElasticSearchIllegalStateException; -import org.elasticsearch.cluster.*; +import org.elasticsearch.cluster.ClusterName; +import org.elasticsearch.cluster.ClusterService; +import org.elasticsearch.cluster.ClusterState; +import org.elasticsearch.cluster.ClusterStateUpdateTask; +import org.elasticsearch.cluster.ProcessedClusterStateUpdateTask; import org.elasticsearch.cluster.block.ClusterBlocks; import org.elasticsearch.cluster.metadata.MetaData; import org.elasticsearch.cluster.node.DiscoveryNode; @@ -113,7 +117,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent implemen this.initialPingTimeout = componentSettings.getAsTime("ping_timeout", componentSettings.getAsTime("initial_ping_timeout", timeValueSeconds(3))); this.sendLeaveRequest = componentSettings.getAsBoolean("send_leave_request", true); - logger.debug("using initial_ping_timeout [{}]", initialPingTimeout); + logger.debug("using ping_timeout [{}]", initialPingTimeout); this.electMaster = new ElectMasterService(settings);