[
https://issues.apache.org/jira/browse/SOLR-11576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cao Manh Dat resolved SOLR-11576.
---------------------------------
Resolution: Fixed
Assignee: Cao Manh Dat
Fix Version/s: master (8.0)
7.2
> CollectionsAPIDistributedZkTest.testCollectionsAPI() get failed when query
> node has stale clusterstate
> ------------------------------------------------------------------------------------------------------
>
> 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
> Assignee: Cao Manh Dat
> Fix For: 7.2, master (8.0)
>
> 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]