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

Simon Willnauer commented on LUCENE-5006:
-----------------------------------------

mike since I am going on vacation and I am not very keen to watch our builds 
failing with sneaky concurrency problems I created a branch CI build from my 
github repo to stress this a bit while I am on vacation... 
http://builds.flonkings.com/job/DWPT_Refactoring/ one I come back I can get 
this in... I think this makes most sense.
                
> Simplify / understand IndexWriter/DocumentsWriter synchronization
> -----------------------------------------------------------------
>
>                 Key: LUCENE-5006
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5006
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-5006.patch, LUCENE-5006.patch
>
>
> The concurrency in IW/DW/BD is terrifying: there are many locks involved, not 
> just intrinsic locks but IW also has fullFlushLock, commitLock, and there are 
> no clear rules about lock order to avoid deadlocks like LUCENE-5002.
> We have to somehow simplify this, and define the allowed concurrent behavior 
> eg when an app calls deleteAll while other threads are indexing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to