[ 
https://issues.apache.org/jira/browse/SOLR-7566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marius Grama updated SOLR-7566:
-------------------------------
    Attachment: SOLR-7566.patch

I've added the modifications that you've requested on this new patch.
I didn't know about the _shards.tolerant_ parameter handling before.

Do you see a way to unit test the changes from this patch?

> Search requests should return the shard name that is down
> ---------------------------------------------------------
>
>                 Key: SOLR-7566
>                 URL: https://issues.apache.org/jira/browse/SOLR-7566
>             Project: Solr
>          Issue Type: Bug
>          Components: search, SolrCloud
>    Affects Versions: 5.1
>            Reporter: Shalin Shekhar Mangar
>            Priority: Trivial
>             Fix For: 5.2, Trunk
>
>         Attachments: SOLR-7566.patch, SOLR-7566.patch
>
>
> If no replicas of a shard are up and running, a search request gives the 
> following response:
> {code}
> {
>   "responseHeader": {
>     "status": 503,
>     "QTime": 2,
>     "params": {
>       "q": "*:*",
>       "indent": "true",
>       "wt": "json",
>       "_": "1432048084930"
>     }
>   },
>   "error": {
>     "msg": "no servers hosting shard: ",
>     "code": 503
>   }
> }
> {code}
> The message should mention the shard which is down/unreachable.



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

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

Reply via email to