You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2015/02/08 04:17:35 UTC
[jira] [Updated] (SOLR-7033) RecoveryStrategy should not publish
any state when closed / cancelled.
[ https://issues.apache.org/jira/browse/SOLR-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller updated SOLR-7033:
------------------------------
Attachment: SOLR-7033.patch
Here is a new patch that also attempts to make sure that stopped / started recoveries will pause when the last attempt started less than 10 seconds ago.
> RecoveryStrategy should not publish any state when closed / cancelled.
> ----------------------------------------------------------------------
>
> Key: SOLR-7033
> URL: https://issues.apache.org/jira/browse/SOLR-7033
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Critical
> Fix For: Trunk, 5.1
>
> Attachments: SOLR-7033.patch, SOLR-7033.patch
>
>
> Currently, when closed / cancelled, RecoveryStrategy can publish a recovery failed state. In a bad loop (like when no one can become leader because no one had a last state of active) this can cause very fast looped publishing of this state to zk.
> It's an outstanding item to improve that specific scenario anyway, but regardless, we should fix the close / cancel path to never publish any state to zk.
--
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