lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Earwin Burrfoot (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1645) Deleted documents are visible across reopened MSRs
Date Tue, 19 May 2009 19:20:45 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Earwin Burrfoot updated LUCENE-1645:
------------------------------------

    Attachment: LUCENE-1645.patch

If you reopen() MSR with unchanged segments, the resulting MSR will share SR instances for
these segments.
Consequently, when you delete a doc in one of said segments through new MSR, deletion will
be visible in original MSR, as no checks for shared SRs are done in delete().

The patch illustrates the bug by altering existing test to reopen MSR->MSR instead of SR->MSR.


> Deleted documents are visible across reopened MSRs
> --------------------------------------------------
>
>                 Key: LUCENE-1645
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1645
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.9
>            Reporter: Earwin Burrfoot
>         Attachments: LUCENE-1645.patch
>
>


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