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

ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.8.1, 4.9, 6.0
    • core/index
    • None
    • New

    Description

      This class remembers which thread used which DWPT, but it never clears
      this "affinity". It really should clear it on flush, this way if the
      number of threads doing indexing has changed we only use as many DWPTs
      as there are incoming threads.

      Attachments

        1. LUCENE-5644.patch
          5 kB
          Michael McCandless
        2. LUCENE-5644.patch
          23 kB
          Michael McCandless
        3. LUCENE-5644.patch
          25 kB
          Michael McCandless
        4. LUCENE-5644.patch
          25 kB
          Michael McCandless
        5. LUCENE-5644.patch
          7 kB
          Michael McCandless

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: