lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cao Manh Dat (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-11577) HttpShardHandler do not retry on stale clusterstate
Date Mon, 30 Oct 2017 08:40:00 GMT
Cao Manh Dat created SOLR-11577:
-----------------------------------

             Summary: HttpShardHandler do not retry on stale clusterstate
                 Key: SOLR-11577
                 URL: https://issues.apache.org/jira/browse/SOLR-11577
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Cao Manh Dat
            Assignee: Cao Manh Dat


Found this problem when doing SOLR-11576. The case here is 
1. collection1 has 2 shards and 1 replicas each (on node1 and node2)
2. restart node2
3. do indexing then commit using CloudSolrClient
4. assert that docs are found

Step 3 is always success, cause CloudSolrClient will do retry requesting on stale clusterstate
(SOLR-11484). But HttpShardHandler does not. So there is a chance that we will meet an assertion
error on step 4 because HttpShardHandler will throw a SolrException if it can not found an
alive replica for a shard ( no servers hosting shard: ... )



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

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


Mime
View raw message