lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram Van Dam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-13136) Queries fail during shard creation [testcase included]
Date Tue, 15 Jan 2019 10:11:00 GMT
Bram Van Dam created SOLR-13136:
-----------------------------------

             Summary: Queries fail during shard creation [testcase included]
                 Key: SOLR-13136
                 URL: https://issues.apache.org/jira/browse/SOLR-13136
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 7.6
            Reporter: Bram Van Dam
         Attachments: TestSearchDuringShardCreation.java

Shard creation takes a certain amount of time. Queries launched between the start of shard
creation and the full "upness" of the shard will fail: "Error from server at foo: no servers
hosting shard: bar".

Ideally, shards should not be used in queries before their creation is fully completed. A
new shard is empty anyway, so its upness couldn't even influence the query results in any
way.

I'm attaching a testcase which reproduces the problem. Tested on two machines, but your mileage
may vary assuming this is a concurrency issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message