Apache Lucene open-source search software
SOLR-847 follow up -- remove pollInterval parameter if it exists in the request because we want to pull only once.
Shalin Shekhar Mangar8563645b8014
diff --git a/src/java/org/apache/solr/handler/ReplicationHandler.java b/src/java/org/apache/solr/handler/ReplicationHandler.javaindex e74157b5edb..d475e58e40f 100644--- a/src/java/org/apache/solr/handler/ReplicationHandler.java+++ b/src/java/org/apache/solr/handler/ReplicationHandler.java@@ -213,7 +213,9 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAwtry {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) {