You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2016/11/14 13:37:58 UTC

[jira] [Commented] (SOLR-9736) HttpSolrCall always prefer leader

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

Shalin Shekhar Mangar commented on SOLR-9736:
---------------------------------------------

Upon beasting the new test, I found a reproducible failure:

{code}
ant test  -Dtestcase=HttpSolrCallGetCoreTest -Dtests.method=test -Dtests.seed=9083D720C9C2C732 -Dtests.locale=es-CU -Dtests.timezone=America/Guatemala -Dtests.asserts=true -Dtests.file.encoding=UTF-8
{code}

Dat, can you please take a look?

> HttpSolrCall always prefer leader
> ---------------------------------
>
>                 Key: SOLR-9736
>                 URL: https://issues.apache.org/jira/browse/SOLR-9736
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Cao Manh Dat
>            Assignee: Shalin Shekhar Mangar
>         Attachments: SOLR-9736.patch, SOLR-9736.patch, SOLR-9736.patch
>
>
> Currently, `HttpSolrCall.getCoreByCollection` always picks the first available leader ( or first replica ) of the first slice. It puts undue pressure on leaders and quite possibly on the wrong ones



--
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