lucene-dev mailing list archives

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

    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message