SOLR-5867: OverseerCollectionProcessor isn't properly generating https urls in some cases

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577968 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-03-16 03:17:12 +00:00
parent e7eb819d4b
commit 68b3675ce8
2 changed files with 4 additions and 1 deletions

View File

@ -172,6 +172,9 @@ Bug Fixes
* SOLR-5861: Recovery should not set onlyIfLeaderActive=true for slice in 'recovery'
state. (shalin)
* SOLR-5867: OverseerCollectionProcessor isn't properly generating https urls in some
cases. (Steve Davids via shalin)
Optimizations
----------------------
* SOLR-1880: Distributed Search skips GET_FIELDS stage if EXECUTE_QUERY

View File

@ -392,7 +392,7 @@ public class OverseerCollectionProcessor implements Runnable, ClosableThread {
params.set("qt", adminPath);
ShardRequest sreq = new ShardRequest();
sreq.purpose = 1;
String replica = nodeName.replaceFirst("_", "/");
String replica = zkStateReader.getBaseUrlForNodeName(nodeName);
sreq.shards = new String[]{replica};
sreq.actualShards = sreq.shards;
sreq.params = params;