[
https://issues.apache.org/jira/browse/LUCENE-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16047452#comment-16047452
]
ASF GitHub Bot commented on LUCENE-5644:
----------------------------------------
GitHub user vvdb opened a pull request:
https://github.com/apache/lucenenet/pull/208
LUCENE-5644: switch to simpler LIFO thread to ThreadState allocator d…
…uring indexing”. Technically, this is something from
releases/lucene-solr/4.8.1, but profiling indicates it makes a huge difference
in multithreaded scenarios
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vvdb/lucenenet master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucenenet/pull/208.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #208
----
commit 18b8ef71fc08c1583c323ff00e2d1ef07e55c72c
Author: Vincent Van Den Berghe <[email protected]>
Date: 2017-06-13T05:50:31Z
LUCENE-5644: switch to simpler LIFO thread to ThreadState allocator during
indexing”. Technically, this is something from releases/lucene-solr/4.8.1, but
profiling indicates it makes a huge difference in multithreaded scenarios
----
> ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush
> --------------------------------------------------------------------------
>
> Key: LUCENE-5644
> URL: https://issues.apache.org/jira/browse/LUCENE-5644
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/index
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 4.8.1, 4.9, 6.0
>
> Attachments: LUCENE-5644.patch, LUCENE-5644.patch, LUCENE-5644.patch,
> LUCENE-5644.patch, LUCENE-5644.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]