don't replicate conf files in solrcloud mode - we don't have access to the raw fs conf dir

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294304 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-02-27 19:49:30 +00:00
parent 29ab4d99d6
commit 742acdb15d
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAw
+ gen, e);
}
rsp.add(CMD_GET_FILE_LIST, result);
if (confFileNameAlias.size() < 1)
if (confFileNameAlias.size() < 1 || core.getCoreDescriptor().getCoreContainer().isZooKeeperAware())
return;
LOG.debug("Adding config files to list: " + includeConfFiles);
//if configuration files need to be included get their details