You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/15 23:54:15 UTC

[jira] [Commented] (LUCENE-4836) SimpleRateLimiter#pause returns target time stamp instead of sleep time.

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org