You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/09/17 15:02:04 UTC
[jira] [Updated] (SOLR-8067) Provide an option to retry on session
timeout in ZkCmdExecutor#retryOperation
[ https://issues.apache.org/jira/browse/SOLR-8067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Varun Thacker updated SOLR-8067:
--------------------------------
Attachment: SOLR-8067.patch
This patch changes ZkCmdExecutor#retryOperation and provides options for both connection loss and session expiry.
With this patch ZkSolrResourceLoader#openResource retries on session expiry as well, meaning the when a core is being loaded/reloaded then it will retry on session expiry as well.
A reference to test fail which is relevant : https://issues.apache.org/jira/browse/SOLR-6924?focusedCommentId=14321702&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14321702
I'll add some tests as well.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org