[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-28 Thread ASF GitHub Bot (JIRA)
the issue: https://github.com/apache/lucenenet/pull/208 Guys, the PR title here references LUCENE-5644 and this trigger's ASF JIRA-GitHub integration to link the conversation here to comments on that old issue. Can you please edit the PR title? > ThreadAffinityDocumentsWrit

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-27 Thread ASF GitHub Bot (JIRA)
he thread<https://github.com/notifications/unsubscribe-auth/ARBXprqH0s0Tjj1dhQ4f_ryNc6H2vCZEks5sILy9gaJpZM4N4A9a>. > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > >

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-27 Thread ASF GitHub Bot (JIRA)
d on the issue: https://github.com/apache/lucenenet/pull/208 @vvdb I would like to add this fix to the next release. Are you planning to submit another pull request? > ThreadAffinityDocumentsWriterThreadPool should clear the bindings o

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-27 Thread ASF GitHub Bot (JIRA)
pull request at: https://github.com/apache/lucenenet/pull/208 > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > > Key: LUCENE-5644 > URL: https:

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-13 Thread ASF GitHub Bot (JIRA)
es (such as changing the curly bracket from the same line to the following line of a function or if statement), but to my knowledge a tool like that doesn't exist. > ThreadAffinityDocuments

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-13 Thread ASF GitHub Bot (JIRA)
GitHub<https://github.com/apache/lucenenet/pull/208#issuecomment-308027273>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ARBXpku1AqOToF4KGaoBuQG8Pu83axMhks5sDjV4gaJpZM4N4A9a>. > ThreadA

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-13 Thread ASF GitHub Bot (JIRA)
the moment, how can we be sure this doesn't introduce any? cc @NightOwl888 > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > > Key: LUCENE-5644 >

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-13 Thread ASF GitHub Bot (JIRA)
lear(); + } --- End diff -- this seems unrelated? > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > > Key: LUCENE-5644 > URL: https:

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2017-06-12 Thread ASF GitHub Bot (JIRA)
xing”. 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 o

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-16 Thread ASF subversion and git services (JIRA)
5644: - Commit 1593650 from [~mikemccand] in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1593650 ] LUCENE-5644: favor an already initialized ThreadState > ThreadAffinityDocumentsWriterThreadPool should clear the

[jira] [Reopened] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-16 Thread Michael McCandless (JIRA)
. When that happens, we should try to pick a ThreadState that's already initialized, so that if no full-flushing (getReader) is happening, we don't tie up RAM indefinitely in the pending segments. > ThreadAffinityDocumentsWriterThreadPool should clear the bind

[jira] [Resolved] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-5644. Resolution: Fixed > ThreadAffinityDocumentsWriterThreadPool should clear

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-15 Thread ASF subversion and git services (JIRA)
5644: - Commit 1593230 from [~mikemccand] in branch 'dev/branches/lucene_solr_4_8' [ https://svn.apache.org/r1593230 ] LUCENE-5644: switch to simpler LIFO thread to ThreadState allocator during indexing > ThreadAffinityDocumentsWriterThreadPool should clear the

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-15 Thread ASF subversion and git services (JIRA)
5644: - Commit 1593651 from [~mikemccand] in branch 'dev/trunk' [ https://svn.apache.org/r1593651 ] LUCENE-5644: favor an already initialized ThreadState > ThreadAffinityDocumentsWriterThreadPool should clear the

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-15 Thread Michael McCandless (JIRA)
(this class is already using its intrinsic lock)? Or at least, let's defer it; maybe we can make a lock-free queue later... > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- >

[jira] [Resolved] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-5644. Resolution: Fixed > ThreadAffinityDocumentsWriterThreadPool should clear

[jira] [Updated] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-15 Thread Michael McCandless (JIRA)
case where the ThreadState isn't initialized, we loop through the other thread states to find one that is initialized. > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > >

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-14 Thread ASF subversion and git services (JIRA)
5644: - Commit 1593226 from [~mikemccand] in branch 'dev/trunk' [ https://svn.apache.org/r1593226 ] LUCENE-5644: switch to simpler LIFO thread to ThreadState allocator during indexing > ThreadAffinityDocumentsWriterThreadPool should clear the

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-14 Thread ASF subversion and git services (JIRA)
5644: - Commit 1593649 from [~mikemccand] in branch 'dev/branches/lucene_solr_4_8' [ https://svn.apache.org/r1593649 ] LUCENE-5644: favor an already initialized ThreadState > ThreadAffinityDocumentsWriterThreadPool should clear the

[jira] [Updated] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-13 Thread Michael McCandless (JIRA)
{noformat} > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > > Key: LUCENE-5644 > URL: https://issues.apache.org/jira/browse/LUCENE-5644 > Project: Lucene

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-12 Thread ASF subversion and git services (JIRA)
5644: - Commit 1593240 from [~mikemccand] in branch 'dev/branches/lucene_solr_4_8' [ https://svn.apache.org/r1593240 ] LUCENE-5644: remove this class > ThreadAffinityDocumentsWriterThreadPool should clear the

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-10 Thread Shai Erera (JIRA)
ume things. But, I leave it to you. > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > > Key: LUCENE-5644 > URL: https://issues.apache.org/jira/browse

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-10 Thread ASF subversion and git services (JIRA)
5644: - Commit 1593228 from [~mikemccand] in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1593228 ] LUCENE-5644: switch to simpler LIFO thread to ThreadState allocator during indexing > ThreadAffinityDocumentsWriterThreadPool should clear the

[jira] [Reopened] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-06 Thread Michael McCandless (JIRA)
ormat} > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > > Key: LUCENE-5644 > URL: https://issues.apache.org/jira/browse/LUCENE-5644 > Project: Lucene - Core >

[jira] [Resolved] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-05 Thread Michael McCandless (JIRA)
> ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > > Key: LUCENE-5644 > URL: https://issues.apache.org/jira/browse/LUCENE-5644 > Project: Lucene - Core >

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-05 Thread ASF subversion and git services (JIRA)
5644: - Commit 1592623 from [~mikemccand] in branch 'dev/branches/lucene_solr_4_8' [ https://svn.apache.org/r1592623 ] LUCENE-5644: clear IW's thread state bindings on flush > ThreadAffinityDocumentsWriterThreadPool should clear

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-05 Thread ASF subversion and git services (JIRA)
5644: - Commit 1592621 from [~mikemccand] in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1592621 ] LUCENE-5644: clear IW's thread state bindings on flush > ThreadAffinityDocumentsWriterThreadPool should clear

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-05 Thread ASF subversion and git services (JIRA)
5644: - Commit 1592620 from [~mikemccand] in branch 'dev/trunk' [ https://svn.apache.org/r1592620 ] LUCENE-5644: clear IW's thread state bindings on flush > ThreadAffinityDocumentsWriterThreadPool should clear

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-05 Thread Michael McCandless (JIRA)
27;ll add that & commit shortly. > ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush > -- > > Key: LUCENE-5644 > URL: https://issues.apache

[jira] [Commented] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-05 Thread Simon Willnauer (JIRA)
ate.lock(); if (minThreadState.isInitialized() == false) { threadBindings.put(requestingThread, minThreadState); // make sure we get the same state next time } return minThreadState; {code} > ThreadAffinityDocumentsWriterThreadPool should clear the

[jira] [Updated] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-04 Thread Michael McCandless (JIRA)
not recording a thread binding when we had an uncontended minThreadState, causing an unnecessary call to minContentedThreadState for each doc. > ThreadAffinityDocumentsWriterThreadPool should clear the bindings o

[jira] [Created] (LUCENE-5644) ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush

2014-05-04 Thread Michael McCandless (JIRA)
Michael McCandless created LUCENE-5644: -- Summary: ThreadAffinityDocumentsWriterThreadPool should clear the bindings on flush Key: LUCENE-5644 URL: https://issues.apache.org/jira/browse/LUCENE-5644

[jira] [Updated] (LUCENE-3060) Revise ThreadAffinityDocumentsWriterThreadPool queue handling

2014-03-15 Thread David Smiley (JIRA)
ise ThreadAffinityDocumentsWriterThreadPool queue handling > - > > Key: LUCENE-3060 > URL: https://issues.apache.org/jira/browse/LUCENE-3060 > Project: Lucene - Core > Issue Type: Improvement >

[jira] [Created] (LUCENE-5359) ThreadAffinityDocumentsWriterThreadPool checks hasQueuedThreads rather than isLocked

2013-12-04 Thread Nick Tarleton (JIRA)
Nick Tarleton created LUCENE-5359: - Summary: ThreadAffinityDocumentsWriterThreadPool checks hasQueuedThreads rather than isLocked Key: LUCENE-5359 URL: https://issues.apache.org/jira/browse/LUCENE-5359

[jira] [Updated] (LUCENE-3060) Revise ThreadAffinityDocumentsWriterThreadPool queue handling

2013-05-09 Thread Uwe Schindler (JIRA)
ise ThreadAffinityDocumentsWriterThreadPool queue handling > - > > Key: LUCENE-3060 > URL: https://issues.apache.org/jira/browse/LUCENE-3060 > Project: Lucene - Core > Issue Type: Improvement

Re: ThreadAffinityDocumentsWriterThreadPool

2012-01-16 Thread Simon Willnauer
hey peter, On Mon, Jan 16, 2012 at 8:45 AM, Peter K wrote: > Thanks Simon for all the explanations so far :) ! no problem! > >>> And what happens if two threads accessing the same ThreadState? The >>> second will try to lock and fail and then get the minimal contended >>> state (?) You said there

Re: ThreadAffinityDocumentsWriterThreadPool

2012-01-15 Thread Peter K
Thanks Simon for all the explanations so far :) ! >> And what happens if two threads accessing the same ThreadState? The >> second will try to lock and fail and then get the minimal contended >> state (?) You said there is no problem when two threads accessing one >> ThreadState, but won't two thr

Re: ThreadAffinityDocumentsWriterThreadPool

2012-01-13 Thread Simon Willnauer
On Fri, Jan 13, 2012 at 11:52 AM, Peter K wrote: > Hi Simon, > >> ThreadAffinityDocumentsWriterThreadPool tries to select the least >> contended DocumentsWriterPerThread for the incoming thread and if >> possible assigns the same DWPT to the thread if the associated >&

Re: ThreadAffinityDocumentsWriterThreadPool

2012-01-13 Thread Peter K
Hi Simon, > ThreadAffinityDocumentsWriterThreadPool tries to select the least > contended DocumentsWriterPerThread for the incoming thread and if > possible assigns the same DWPT to the thread if the associated > (previously selected) DWPT is not contended. ah, ok and contended or

Re: ThreadAffinityDocumentsWriterThreadPool

2012-01-12 Thread Simon Willnauer
hey peter, On Thu, Jan 12, 2012 at 4:10 PM, Peter K wrote: > Hi, > > questions regarding ThreadAffinityDocumentsWriterThreadPool: > > 1. Would someone explain to me the ThreadAffinityDocumentsWriterThreadPool > class? E.g. why couldn't I use a ThreadLocal (I'll get e

ThreadAffinityDocumentsWriterThreadPool

2012-01-12 Thread Peter K
Hi, questions regarding ThreadAffinityDocumentsWriterThreadPool: 1. Would someone explain to me the ThreadAffinityDocumentsWriterThreadPool class? E.g. why couldn't I use a ThreadLocal (I'll get exceptions)? Also what does the TODO mean? 2. When profiling I see that "threadBindi

[jira] [Created] (LUCENE-3060) Revise ThreadAffinityDocumentsWriterThreadPool queue handling

2011-05-02 Thread Simon Willnauer (JIRA)
Revise ThreadAffinityDocumentsWriterThreadPool queue handling - Key: LUCENE-3060 URL: https://issues.apache.org/jira/browse/LUCENE-3060 Project: Lucene - Java Issue Type