GitHub user slackhappy opened a pull request:
https://github.com/apache/lucene-solr/pull/321
SOLR-11932 Retry ZkOperation on SessionExpired
https://issues.apache.org/jira/browse/SOLR-11932
We are seeing situations where an operation, such as changing a replica's
state to active after a recovery, fails because the zk session has expired.
However, these operations seem like they are retryable, because the
ZookeeperConnect receives an event that the session expired and tries to
reconnect.
That makes the SessionExpired handling scenario seem very similar to the
ConnectionLoss handling scenario, so the ZkCmdExecutor seems like it could
handle them in the same way.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/slackhappy/lucene-solr SOLR-11932
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/321.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #321
----
commit a33db254badce91b886a5973e743d3a251d2d760
Author: John Gallagher <jgallagher@...>
Date: 2018-02-06T04:08:53Z
SOLR-11932 Retry ZkOperation on SessionExpired
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]