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

Reply via email to