lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2536) Rollback doesn't preserve integrity of original index
Date Tue, 13 Jul 2010 15:10:50 GMT

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

Shai Erera commented on LUCENE-2536:
------------------------------------

Looks good to me. I think now that the test class contains just this method, we can consolidate
all the helper ones into 1? It was required before 'cause there were two test cases. And we
can remove the first assert in the test, since we're not checking here that the index contains
the number of added docs after it was committed - there are plenty of other tests that do
that.

> Rollback doesn't preserve integrity of original index
> -----------------------------------------------------
>
>                 Key: LUCENE-2536
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2536
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 3.0.2
>         Environment: Windows XP pro
>            Reporter: Mark Harwood
>            Assignee: Michael McCandless
>         Attachments: LUCENE-2536.patch, TestRollback.java, TestRollback.java
>
>
> After several "updateDocuments" calls a rollback call does not return the index to the
prior state.
> This seems to occur if the number of updates exceeds the RAM buffer size i.e. when some
flushing of updates occurs.
> Test fails in Lucene 2.4, 2.9, 3.0.1 and 3.0.2
> JUnit to follow.

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


Mime
View raw message