lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5006) Simplify / understand IndexWriter/DocumentsWriter synchronization
Date Mon, 19 Aug 2013 15:20:48 GMT

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

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

Commit 1515463 from [~simonw] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1515463 ]

LUCENE-5006: Simplified DW and DWPT synchronization and concurrent interaction with IW
                
> 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, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message