justinrsweeney commented on code in PR #2316:
URL: https://github.com/apache/solr/pull/2316#discussion_r1523253276


##########
solr/core/src/java/org/apache/solr/cloud/ReplicateFromLeader.java:
##########
@@ -74,14 +74,18 @@ public void startReplication(boolean switchTransactionLog) {
               "SolrCore not found:" + coreName + " in " + 
CloudUtil.getLoadedCoreNamesAsString(cc));
         }
       }
+
       SolrConfig.UpdateHandlerInfo uinfo = 
core.getSolrConfig().getUpdateHandlerInfo();
+      String customPollInterval =
+          
core.getSolrConfig().get("updateHandler").get("commitPollInterval").txt();

Review Comment:
   +1 on that, then I think in determinePollInterval you could just account for 
the configured commitPollInterval



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to