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

Michael McCandless commented on LUCENE-938:
-------------------------------------------

Ahh, right, we are not protecting buffered doc state inside the local
transaction.  And actually doing so would not be very easy.

I would say we require that there are no buffered docs nor deletes
when startTransaction() is called.  The code guarantees that now but
how about we doc this limitation and put an assert in there to make
sure?

These methods were added only for protecting the index during the
addIndexes* calls; if in the future we somehow want to make them more
powerful I think we can fix it then...


> I/O exceptions can cause loss of buffered deletes
> -------------------------------------------------
>
>                 Key: LUCENE-938
>                 URL: https://issues.apache.org/jira/browse/LUCENE-938
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>            Reporter: Steven Parkes
>            Assignee: Steven Parkes
>             Fix For: 2.3
>
>         Attachments: LUCENE-938.take2.patch, LUCENE-938.txt, LUCENE-938.txt
>
>
> Some I/O exceptions that result in segmentInfos rollback operations can cause 
> buffered deletes that existed before the rollback creation point to be 
> incorrectly lost when the IOException triggers a rollback.

-- 
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