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

ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.1, 4.9, 6.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: