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

Steve Rowe commented on SOLR-12766:
-----------------------------------

Looks like TestPullReplicaErrorHandling is failing 100%-ish after the commit 
here, e.g. from 
[https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/22850/] - the suite 
succeeds locally for me (w/o a seed) at the commit just prior:

{noformat}
Checking out Revision 4a5b914eaa8683009191748bf6c0b1be14d59661 
(refs/remotes/origin/master)
[...]
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestPullReplicaErrorHandling -Dtests.method=testCantConnectToLeader 
-Dtests.seed=D3FF2F40DCE2110D -Dtests.multiplier=3 -Dtests.slow=true 
-Dtests.locale=en-IN -Dtests.timezone=Europe/Athens -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
   [junit4] ERROR    608s J2 | 
TestPullReplicaErrorHandling.testCantConnectToLeader <<<
   [junit4]    > Throwable #1: 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at http://127.0.0.1:45105/solr: Could not find collection : 
pull_replica_error_handling_test_cant_connect_to_leader
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([D3FF2F40DCE2110D:5DF34F30A9FA9527]:0)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:483)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:413)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1107)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817)
   [junit4]    >        at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
   [junit4]    >        at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:211)
   [junit4]    >        at 
org.apache.solr.cloud.TestPullReplicaErrorHandling.tearDown(TestPullReplicaErrorHandling.java:128)
   [junit4]    >        at java.lang.Thread.run(Thread.java:748)
{noformat}


> When retrying internal requests, backoff only once for the full batch of 
> retries
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-12766
>                 URL: https://issues.apache.org/jira/browse/SOLR-12766
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Tomás Fernández Löbbe
>            Assignee: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-12766.patch
>
>
> We currently wait for each internal retry request ({{TOLEADER}} or 
> {{FROMLEADER}} requests). This can cause a long wait time when retrying many 
> requests and can timeout the client. We should instead wait once and retry 
> the full batch of errors.



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

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

Reply via email to