[
https://issues.apache.org/jira/browse/SOLR-8067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14802959#comment-14802959
]
Mark Miller commented on SOLR-8067:
-----------------------------------
You have to be careful. On session expiration, we have to make a new zk client
and start from scratch basically - we don't necessarily want to retry - we are
expected to fail and start from scratch in most cases.
On connection loss, the session is still there and it is much more likely you
want to retry - almost always other than for specific tricky stuff.
> Provide an option to retry on session timeout in ZkCmdExecutor#retryOperation
> -----------------------------------------------------------------------------
>
> Key: SOLR-8067
> URL: https://issues.apache.org/jira/browse/SOLR-8067
> Project: Solr
> Issue Type: Bug
> Reporter: Varun Thacker
> Assignee: Varun Thacker
> Attachments: SOLR-8067.patch
>
>
> I was working on adding a retry option on session timeout when
> loading/reloading cores. Instead of adding the logic in
> {{ZkResourceLoader#openResource}} I thought it would be better for the option
> to live in {{ZkCmdExecutor#retryOperation}} and other methods could also make
> use if it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]