mirror of https://github.com/apache/lucene.git
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:
parent
e59ebad16e
commit
8563645b80
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue