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

ControlledRealTimeReopenThread waitForGeneration might sleep for targetMaxStaleSec instead of targetMinStaleSec

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.6.1
    • 4.8, 6.0
    • core/search
    • None
    • New

    Description

      If setting the tagetMinStaleSec to 0, sometimes a call to waitForGeneration will block for targetMaxStaleSec instead of immediately call maybeRefreshBlocking on the manager.

      In effect to targetMaxStaleSec cannot be set higher than acceptable blocking resolving of a specified generation.

      Attachments

        1. ControlledRealTimeReopenThread.patch
          2 kB
          Hans Lund
        2. LUCENE-5461.patch
          8 kB
          Michael McCandless
        3. LUCENE-5461.patch
          5 kB
          Michael McCandless
        4. TestLucene5461.java
          4 kB
          Hans Lund

        Activity

          People

            Unassigned Unassigned
            halu Hans Lund
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment