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

Commit Tag Bot commented on LUCENE-4836:
----------------------------------------

[trunk commit] Simon Willnauer
http://svn.apache.org/viewvc?view=revision&revision=1457154

LUCENE-4836: Fix SimpleRateLimiter#pause to return the actual time spent 
sleeping

                
> SimpleRateLimiter#pause returns target time stamp instead of sleep time.
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-4836
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4836
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 4.1, 4.2
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>            Priority: Minor
>             Fix For: 5.0, 4.3
>
>         Attachments: LUCENE-4836.patch
>
>
> SimpleRateLimiter#pause is supposed to return the time it actually spend 
> sleeping but it returns the actual time in nanos it is supposed to sleep 
> until. This cause some problems in ES due to long overflows.... here is the 
> original issue reported by a user: 
> https://github.com/elasticsearch/elasticsearch/issues/2785

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to