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

Simon Willnauer commented on LUCENE-3340:
-----------------------------------------

bq. I think it's ready to commit!
+1 thanks for all the new testcases!

> Buffered deletes are not flushed by RAM or count
> ------------------------------------------------
>
>                 Key: LUCENE-3340
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3340
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3340.patch, LUCENE-3340.patch, LUCENE-3340.patch
>
>
> When a segment is flushed, we will generally NOT flush the deletes, ie we 
> simply buffer up the pending delete terms/queries, and the only apply them if 
> 1) a segment is going to be merged (so we can remove the del docs in that 
> segment), or 2) the buffered deletes' RAM exceeds 1/2 of IW's RAM limit when 
> we are flushing a segment, or 3) the buffered deletes count exceeds IWC's 
> maxBufferedDeleteTerms.
> But the latter 2 triggers are currently broken on trunk; I suspect (but I'm 
> not sure) when we landed DWPT we introduced this bug.

--
This message is automatically generated by JIRA.
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