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

When ConcurrentMergeScheduler stalls incoming threads it has unexpected hysteresis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1, 6.0
    • None
    • None
    • New

    Description

      Eg if you set maxMergeCount to 2, as soon as a 3rd merge need to kick off, we stall incoming segment-creating threads. Then we wait ... and we are supposed to resume the threads when the merge count drops back to 2, but instead we are only resuming when merge count gets to 1. Ie, we stall for too long (= unexpected hysteresis).

      Attachments

        1. LUCENE-4660.patch
          0.9 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: