lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Domenico Fabio Marino (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-10799) Create a new function to get eligible replicas in HttpShardHandler
Date Thu, 01 Jun 2017 10:32:04 GMT
Domenico Fabio Marino created SOLR-10799:
--------------------------------------------

             Summary: Create a new function to get eligible replicas in HttpShardHandler
                 Key: SOLR-10799
                 URL: https://issues.apache.org/jira/browse/SOLR-10799
             Project: Solr
          Issue Type: Task
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Domenico Fabio Marino
            Priority: Minor


Extract a function called createEligibleReplicas from prepDistributed() in HttpShardHandler.
This method takes a collection of all available replicas, a cluster state, onlyNrtReplicas
boolean and a predicate and returns a list of eligible replicas.

This helps with readability and could be used to perform further refactoring in the future




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message