[ 
https://issues.apache.org/jira/browse/SOLR-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501446#comment-14501446
 ] 

Mark Miller commented on SOLR-7141:
-----------------------------------

Its as the comment says:

{noformat}
        // we wait a bit so that any updates on the leader
        // that started before they saw recovering state 
        // are sure to have finished
{noformat}

Slow updates based on old state can be wrong. We started this at 2 seconds just 
kind of out of thin air. I had to raise it because I saw it wasn't enough in 
some hdfs chaosmonkey test fails and so we need to make sure we have plenty of 
padding for real world hardware.

It might be nice to do something more concrete, but it's very tricky to solve 
nicely.

> RecoveryStrategy: Raise time that we wait for any updates from the leader 
> before they saw the recovery state to have finished.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7141
>                 URL: https://issues.apache.org/jira/browse/SOLR-7141
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: Trunk, 5.1
>
>         Attachments: SOLR-7141.patch
>
>
> The current wait of 3 seconds is pushing the envelope a bit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to