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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to