You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2014/08/19 18:27:19 UTC

[jira] [Commented] (SOLR-6379) CloudSolrServer can query the wrong replica if a collection has a SolrCore name that matches a collection name.

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

Anshum Gupta commented on SOLR-6379:
------------------------------------

[~markrmiller@gmail.com] That's ok :). I'll put up a patch once I get to office with an optional param that helps explicit targeting/preference of a core.

> CloudSolrServer can query the wrong replica if a collection has a SolrCore name that matches a collection name.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6379
>                 URL: https://issues.apache.org/jira/browse/SOLR-6379
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Hoss Man
>            Assignee: Anshum Gupta
>            Priority: Minor
>             Fix For: 5.0, 4.10
>
>         Attachments: SOLR-6379.patch, SOLR-6379.patch, SOLR-6379.patch
>
>
> spin off of SOLR-2894 where sarowe & miller were getting failures from TestCloudPivot that seemed unrelated to any of hte distrib pivot logic itself.
> in particular: adding a call to "waitForThingsToLevelOut" at the start of the test, even before indexing any docs, seemed to work around the problem -- but even if all replicas aren't yet up when the test starts, we should either get a failure when adding docs (ie: no replica hosting the target shard) or queries should only be routed to the replicas that are up and fully caught up with the rest of the collection.
> (NOTE: we're specifically talking about a situation where the set of docs in the collection is static during the query request)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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