Shalin Shekhar Mangar created SOLR-14406:
--------------------------------------------
Summary: Use exponential backoff in RecoveryStrategy.pingLeader
Key: SOLR-14406
URL: https://issues.apache.org/jira/browse/SOLR-14406
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrCloud
Reporter: Shalin Shekhar Mangar
Assignee: Shalin Shekhar Mangar
The RecoveryStrategy.pingLeader method tries to connect/ping to the known
leader in a tight loop while waiting for only 500ms. This is wasteful when
leader is down and also litters the logs with messages like the following
repeated very frequently (especially when there are more than one replica on
the node whose leader is down):
{code}
Failed to connect leader http://xyz/solr on recovery, try again
{code}
We should use an exponential back-off here between retries
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]