MarcusSorealheis commented on a change in pull request #1711:
URL: https://github.com/apache/lucene-solr/pull/1711#discussion_r466031953
##########
File path: solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java
##########
@@ -406,15 +436,15 @@ static Long getCheckSum(Checksum checksum, File f) {
private volatile IndexFetcher currentIndexFetcher;
public IndexFetchResult doFetch(SolrParams solrParams, boolean
forceReplication) {
- String masterUrl = solrParams == null ? null : solrParams.get(MASTER_URL);
+ String leaderUrl = solrParams == null ? null : solrParams.get(LEADER_URL);
Review comment:
Commented from startup account. 🙃 Do you want me to create a test case
for this additional ternary operator?
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]