tflobbe commented on a change in pull request #1719: URL: https://github.com/apache/lucene-solr/pull/1719#discussion_r466076118
########## File path: solr/core/src/java/org/apache/solr/cloud/ReplicateFromLeader.java ########## @@ -76,12 +76,12 @@ public void startReplication(boolean switchTransactionLog) throws InterruptedExc } log.info("Will start replication from leader with poll interval: {}", pollIntervalStr ); - NamedList<Object> slaveConfig = new NamedList<>(); - slaveConfig.add("fetchFromLeader", Boolean.TRUE); - slaveConfig.add(ReplicationHandler.SKIP_COMMIT_ON_MASTER_VERSION_ZERO, switchTransactionLog); - slaveConfig.add("pollInterval", pollIntervalStr); + NamedList<Object> followerConfig = new NamedList<>(); + followerConfig.add("fetchFromLeader", Boolean.TRUE); + followerConfig.add(ReplicationHandler.SKIP_COMMIT_ON_LEADER_VERSION_ZERO, switchTransactionLog); + followerConfig.add("pollInterval", pollIntervalStr); NamedList<Object> replicationConfig = new NamedList<>(); - replicationConfig.add("slave", slaveConfig); + replicationConfig.add("follower", followerConfig); Review comment: I left this intentionally using the new parameters because this configuration is only read locally ---------------------------------------------------------------- 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