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

ControlledRealTimeReopenThread waitForGeneration might sleep for targetMaxStaleSec instead of targetMinStaleSec

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.6.1
    • Fix Version/s: 4.8, 6.0
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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

            • Assignee:
              Unassigned
              Reporter:
              halu Hans Lund
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: