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

Cao Manh Dat edited comment on SOLR-11576 at 10/30/17 8:42 AM:
---------------------------------------------------------------

Here is a patch for this ticket, the aim of this ticket is making sure that 
{{testCollectionsAPI}} will pass 100%. And we solve stale clusterstate problem 
on SOLR-11577 ( by a patch with 100% failure )


was (Author: caomanhdat):
Here is a patch for this ticket, the aim of this ticket is making sure that 
{{testCollectionsAPI}} will pass 100%. And we solve stale clusterstate problem 
on SOLR-11577

> CollectionsAPIDistributedZkTest.testCollectionsAPI() failures
> -------------------------------------------------------------
>
>                 Key: SOLR-11576
>                 URL: https://issues.apache.org/jira/browse/SOLR-11576
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Cao Manh Dat
>         Attachments: SOLR-11576.patch
>
>
> From 
> http://jenkins.sarowe.net/job/Lucene-Solr-tests-master/13463/testReport/junit/org.apache.solr.cloud/CollectionsAPIDistributedZkTest/testCollectionsAPI/
> {code}
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at https://127.0.0.1:33695/solr/awhollynewcollection_0: 
> {"awhollynewcollection_0":6}
>       at 
> __randomizedtesting.SeedInfo.seed([C10CAFE495CBEBDE:8979DB5093F8C44B]:0)
>       at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:626)
>       at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:253)
>       at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:242)
>       at 
> org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:483)
>       at 
> org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:413)
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1086)
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:867)
> {code}
> The problem here is QueryController (the node who receive the query) has a 
> stale clusterstate. Therefore HttpShardHandler could not find an active 
> replica for querying. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to