Simon Willnauer created LUCENE-4836:
---------------------------------------

             Summary: 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.2, 4.1
            Reporter: Simon Willnauer
            Assignee: Simon Willnauer
            Priority: Minor
             Fix For: 4.3


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