You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2015/11/30 23:42:11 UTC

[jira] [Updated] (SOLR-8354) RecoveryStrategy retry logic is innaccurate

     [ https://issues.apache.org/jira/browse/SOLR-8354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Drob updated SOLR-8354:
----------------------------
    Attachment: SOLR-8354.patch

Patch attached that changes the sleep to match what is in the comment.

> RecoveryStrategy retry logic is innaccurate
> -------------------------------------------
>
>                 Key: SOLR-8354
>                 URL: https://issues.apache.org/jira/browse/SOLR-8354
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mike Drob
>         Attachments: SOLR-8354.patch
>
>
> At the end of {{RecoveryStrategy::doRecovery}} there is a retry segment, with a comment that suggests the code will {{// start at 1 sec and work up to a min}}. The code will actually start at 10 seconds, and work up to 5 minutes. Additionally, the log statement incorrectly reports how long the next wait will be. Either the comment and log should be corrected or the logic adjusted.



--
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