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

Mark Miller commented on SOLR-6235:
-----------------------------------

bq. That's the same case as the leaderVoteWait situation and we do go ahead 
after that amount of time even if all replicas aren't participating. 

No, we don't - only if a new leader is elected does he try and do the wait. 
There are situations where that doesn't happen. This is like the issue where 
the leader loses the connection to zk after sending docs to replicas and then 
they fail and the leader asks them to recover and then you have no leader for 
the shard. We did a kind of workaround for that specific issue, but I've seen 
it happen with other errors as well. You can certainly lose a whole shard when 
everyone is participating in the election - no one thinks they can be the 
leader because they all published recovery last.

There are lots and lots of improvements to be made to recovery still - it's a 
baby.

> SyncSliceTest fails on jenkins with no live servers available error
> -------------------------------------------------------------------
>
>                 Key: SOLR-6235
>                 URL: https://issues.apache.org/jira/browse/SOLR-6235
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, Tests
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.10
>
>
> {code}
> 1 tests failed.
> FAILED:  org.apache.solr.cloud.SyncSliceTest.testDistribSearch
> Error Message:
> No live SolrServers available to handle this request
> Stack Trace:
> org.apache.solr.client.solrj.SolrServerException: No live SolrServers 
> available to handle this request
>         at 
> __randomizedtesting.SeedInfo.seed([685C57B3F25C854B:E9BAD9AB8503E577]:0)
>         at 
> org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:317)
>         at 
> org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:659)
>         at 
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
>         at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
>         at 
> org.apache.solr.cloud.AbstractFullDistribZkTestBase.checkShardConsistency(AbstractFullDistribZkTestBase.java:1149)
>         at 
> org.apache.solr.cloud.AbstractFullDistribZkTestBase.checkShardConsistency(AbstractFullDistribZkTestBase.java:1118)
>         at org.apache.solr.cloud.SyncSliceTest.doTest(SyncSliceTest.java:236)
>         at 
> org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:865)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to