[
https://issues.apache.org/jira/browse/SOLR-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311438#comment-14311438
]
Mark Miller commented on SOLR-7033:
-----------------------------------
bq. + private final ActionThrottle recoveryThrottle = new
ActionThrottle("recovery attempt", 10000);
bq. + private final ActionThrottle leaderThrottle = new ActionThrottle("leader
attempt", 5000);
bq. + log.info("Throttling {} attempts - waiting for {} ms", name, sleep);
I'll consolidate the attempts usage.
> 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, 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: [email protected]
For additional commands, e-mail: [email protected]