From 62059a4fdcca8160555f264cf258427e501e549b Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Thu, 24 Jul 2014 16:39:08 +0000 Subject: [PATCH] SOLR-6274: UpdateShardHandler should log the params used to configure it's HttpClient. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613182 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 3 +++ .../src/java/org/apache/solr/update/UpdateShardHandler.java | 1 + 2 files changed, 4 insertions(+) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 9a123b51050..3e68009e05f 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -283,6 +283,9 @@ Other Changes * SOLR-6270: Increased timeouts for MultiThreadedOCPTest. (shalin) +* SOLR-6274: UpdateShardHandler should log the params used to configure it's + HttpClient. (Ramkumar Aiyengar via Mark Miller) + ================== 4.9.0 ================== Versions of Major Components diff --git a/solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java b/solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java index 01008620436..263f418d731 100644 --- a/solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java +++ b/solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java @@ -55,6 +55,7 @@ public class UpdateShardHandler { params.set(HttpClientUtil.PROP_SO_TIMEOUT, cfg.getDistributedSocketTimeout()); params.set(HttpClientUtil.PROP_CONNECTION_TIMEOUT, cfg.getDistributedConnectionTimeout()); params.set(HttpClientUtil.PROP_USE_RETRY, false); + log.info("Creating UpdateShardHandler HTTP client with params: {}", params); client = HttpClientUtil.createClient(params, clientConnectionManager); }