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] [Commented] (SOLR-10799) Create a new function to get eligible replicas in HttpShardHandler
Date Thu, 01 Jun 2017 11:27:04 GMT

    [ https://issues.apache.org/jira/browse/SOLR-10799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032814#comment-16032814
] 

Domenico Fabio Marino commented on SOLR-10799:
----------------------------------------------

The patch without suffixes is for master
The patch with the 6X suffix is for branch_6x

> 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
>         Attachments: SOLR-10799-6X.patch, SOLR-10799.patch
>
>
> 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