lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10799) Create a new function to get eligible replicas in HttpShardHandler
Date Fri, 02 Jun 2017 17:35:04 GMT

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

ASF subversion and git services commented on SOLR-10799:
--------------------------------------------------------

Commit 3618fc529dff85ee604614b3c545fa0b5fbf3b06 in lucene-solr's branch refs/heads/master
from [~tomasflobbe]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3618fc5 ]

SOLR-10799: Refator HttpShardHandler.prepDistributed collection of shard replicas


> 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
>            Assignee: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-10799-6X.patch, SOLR-10799-6X.patch, SOLR-10799.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