lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-938) I/O exceptions can cause loss of buffered deletes
Date Thu, 12 Jul 2007 22:23:05 GMT


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

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:
>             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:
For additional commands, e-mail:

View raw message