You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ishan Chattopadhyaya (JIRA)" <ji...@apache.org> on 2017/03/13 16:45:41 UTC

[jira] [Commented] (SOLR-9594) Query requests to one shard collections can switch to two-phase distributed search if they hit a node in recovery

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

Ishan Chattopadhyaya commented on SOLR-9594:
--------------------------------------------

Moving to 6.5, since 6.4 has already been released.


> Query requests to one shard collections can switch to two-phase distributed search if they hit a node in recovery
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-9594
>                 URL: https://issues.apache.org/jira/browse/SOLR-9594
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: search, SolrCloud
>    Affects Versions: 4.10.4, 5.5.3, 6.2.1
>            Reporter: Shalin Shekhar Mangar
>              Labels: difficulty-medium, impact-medium
>             Fix For: 6.5, master (7.0)
>
>
> All search requests in SolrCloud are distributed two-phase requests by default but Solr short-circuits it to the local replica/core if the collection has numShards=1 and the local replica/core is active.
> But if the request happens to land on a replica which isn't active, the short-circuiting doesn't happen and the local replica/core which isn't active becomes the aggregator for a proper two-phase distributed request. If the search components involved in the request do not support distributed search then you can have weird results in such cases. This behavior is very surprising because most of the times queries are short circuited and behave as if they were non-distrib queries.
> We could either:
> # Forward the request to some other node entirely or
> # Make a call with distrib=false to another node



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