You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/12/21 20:49:58 UTC

[jira] [Commented] (SOLR-9758) refactor preferLocalShards implementation

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

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

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

SOLR-9758: refactor preferLocalShards implementation


> refactor preferLocalShards implementation
> -----------------------------------------
>
>                 Key: SOLR-9758
>                 URL: https://issues.apache.org/jira/browse/SOLR-9758
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-9758.patch
>
>
> This ticket proposes to refactor the existing preferLocalShards implementation (from SOLR-6832 and SOLR-8298) based upon the recent (in SOLR-8332) ReplicaListTransformer addition.
> The intention of the refactor is to encapsulate the local shard url selection logic within the HttpShardHandlerFactory.getReplicaListTransformer method (it is currently spread across the public HttpShardHandler.prepDistributed and the private HttpShardHandler.getURLs method) and to thus remove the ResponseBuilder.preferredHostAddress field.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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