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

Ning Li commented on LUCENE-1335:
---------------------------------

Maybe this should be a separate JIRA issue. In doWait(), the comment says "as a 
defense against thread timing hazards where notifyAll() falls to be called, we 
wait for at most 1 second..." In some cases, it seems that notifyAll() simply 
isn't called, such as some of the cases related to runningMerges. Maybe we 
should take a closer look at and possibly simplify the concurrency control in 
IndexWriter, especially when autoCommit is disabled?

> Correctly handle concurrent calls to addIndexes, optimize, commit
> -----------------------------------------------------------------
>
>                 Key: LUCENE-1335
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1335
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3, 2.3.1
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: LUCENE-1335.patch, LUCENE-1335.patch, LUCENE-1335.patch, 
> LUCENE-1335.patch, LUCENE-1335.patch
>
>
> Spinoff from here:
>     
> http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200807.mbox/[EMAIL 
> PROTECTED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to