lucene-dev mailing list archives

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


Ning Li commented on LUCENE-938:

Good catch, Steven!

One thing though: I thought we had assumed that there wouldn't be any buffered docs or delete
terms when startTransaction(), so no local copies are necessary. That means no change to startTransaction()
and rollbackTransaction(). If there could be buffered docs and delete terms when startTransaction(),
then local copies should be made for buffered docs and localNumBufferedDeleteTerms should
clone numBufferedDeleteTerms instead of just copying the reference.

> 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