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

ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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
          7 kB
          Michael McCandless
        2. LUCENE-5644.patch
          25 kB
          Michael McCandless
        3. LUCENE-5644.patch
          25 kB
          Michael McCandless
        4. LUCENE-5644.patch
          23 kB
          Michael McCandless
        5. LUCENE-5644.patch
          5 kB
          Michael McCandless

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment