You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2016/07/28 19:27:20 UTC
[jira] [Created] (SOLR-9357) ConcurrentUpdateSolrClient does not
retry sending docs to followers
Erick Erickson created SOLR-9357:
------------------------------------
Summary: ConcurrentUpdateSolrClient does not retry sending docs to followers
Key: SOLR-9357
URL: https://issues.apache.org/jira/browse/SOLR-9357
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 6.x, 5.3
Reporter: Erick Erickson
I'm a little out of my comfort zone, so posting this for discussion. If, for any reason, ConcurrentUpdateSolrClient doesn't get a response from a replica (say a network glitch or the like), it _seems_ to initiate a LIR on the replica. This is around line 243 in 5.3.2, and the corresponding code in 6x looks unchanged on a quick perusal.
This is fragile in the sense that a simple retry could avoid the replica going into recovery if the problem is transient.
I don't think this is issuing a retry higher in the stack, but we're seeing this behavior in the field so I'm posting this here for discussion, I've had a back-channel discussion already so a JIRA seems in order.
The other thing I'm not entirely sure of is whether retrying at this point in the process is something that will avoid versioning problems, although I believe the docs already have a version stamp so it should be OK.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org