You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cao Manh Dat (JIRA)" <ji...@apache.org> on 2017/10/30 08:40:00 UTC
[jira] [Created] (SOLR-11577) HttpShardHandler do not retry on
stale clusterstate
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