[ 
https://issues.apache.org/jira/browse/LUCENE-6659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625432#comment-14625432
 ] 

ASF subversion and git services commented on LUCENE-6659:
---------------------------------------------------------

Commit 1690827 from [~mikemccand] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1690827 ]

LUCENE-6659: never allocate a new ThreadState when DW is aborting

> Remove IndexWriterConfig.get/setMaxThreadStates
> -----------------------------------------------
>
>                 Key: LUCENE-6659
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6659
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.3, Trunk
>
>         Attachments: LUCENE-6659.patch
>
>
> Ever since LUCENE-5644, IndexWriter will aggressively reuse its internal 
> thread states across threads, whenever one is free.
> I think this means we can safely remove the sneaky maxThreadStates limit 
> (default 8) that we have today: IW will only ever allocate as many thread 
> states as there are actual concurrent threads running through it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to