SOLR-847 follow up -- remove pollInterval parameter if it exists in the request because we want to pull only once.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@729282 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2008-12-24 09:13:12 +00:00
parent e59ebad16e
commit 8563645b80
1 changed files with 3 additions and 1 deletions

View File

@ -213,7 +213,9 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAw
try {
tempSnapPuller = snapPuller;
if (masterUrl != null) {
tempSnapPuller = new SnapPuller(solrParams.toNamedList(), this, core);
NamedList<Object> nl = solrParams.toNamedList();
nl.remove(SnapPuller.POLL_INTERVAL);
tempSnapPuller = new SnapPuller(nl, this, core);
}
tempSnapPuller.fetchLatestIndex(core);
} catch (Exception e) {