MarcusSorealheis commented on a change in pull request #1712:
URL: https://github.com/apache/lucene-solr/pull/1712#discussion_r464826083



##########
File path: solr/core/src/java/org/apache/solr/handler/IndexFetcher.java
##########
@@ -236,27 +236,27 @@ public IndexFetcher(@SuppressWarnings({"rawtypes"})final 
NamedList initArgs, fin
     if (fetchFromLeader != null && fetchFromLeader instanceof Boolean) {
       this.fetchFromLeader = (boolean) fetchFromLeader;
     }
-    Object skipCommitOnMasterVersionZero = 
initArgs.get(SKIP_COMMIT_ON_MASTER_VERSION_ZERO);
-    if (skipCommitOnMasterVersionZero != null && skipCommitOnMasterVersionZero 
instanceof Boolean) {
-      this.skipCommitOnMasterVersionZero = (boolean) 
skipCommitOnMasterVersionZero;
+    Object skipCommitOnPrimaryVersionZero = 
initArgs.get(SKIP_COMMIT_ON_MASTER_VERSION_ZERO);

Review comment:
       I think this is the only one that needs to change, possibly. Still 
stitching it all together.




----------------------------------------------------------------
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.

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



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

Reply via email to