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
This commit is contained in:
Mark Robert Miller 2014-07-24 16:39:08 +00:00
parent 8b026f6bd9
commit 62059a4fdc
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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);
}