Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4836

SimpleRateLimiter#pause returns target time stamp instead of sleep time.

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1, 4.2
    • 4.3, 4.2.1, 6.0
    • core/store
    • None
    • New, Patch Available

    Description

      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

      Attachments

        1. LUCENE-4836.patch
          4 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment