You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2009/11/09 01:03:32 UTC

[jira] Created: (LUCENE-2046) IndexReader.isCurrent incorrectly returns false after writer.prepareCommit has been called

IndexReader.isCurrent incorrectly returns false after writer.prepareCommit has been called
------------------------------------------------------------------------------------------

                 Key: LUCENE-2046
                 URL: https://issues.apache.org/jira/browse/LUCENE-2046
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
            Reporter: Michael McCandless
            Assignee: Michael McCandless
            Priority: Minor
             Fix For: 3.0


Spinoff from thread "2 phase commit with external data" on java-user.

The IndexReader should not see the index as changed, after a prepareCommit has been called but before commit is called.

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


[jira] Updated: (LUCENE-2046) IndexReader.isCurrent incorrectly returns false after writer.prepareCommit has been called

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-2046:
---------------------------------------

    Attachment: LUCENE-2046.patch

Attached patch.  Simple fix.

> IndexReader.isCurrent incorrectly returns false after writer.prepareCommit has been called
> ------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2046
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2046
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: LUCENE-2046.patch
>
>
> Spinoff from thread "2 phase commit with external data" on java-user.
> The IndexReader should not see the index as changed, after a prepareCommit has been called but before commit is called.

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


[jira] Resolved: (LUCENE-2046) IndexReader.isCurrent incorrectly returns false after writer.prepareCommit has been called

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-2046.
----------------------------------------

    Resolution: Fixed

Thanks Peter!

> IndexReader.isCurrent incorrectly returns false after writer.prepareCommit has been called
> ------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2046
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2046
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: LUCENE-2046.patch
>
>
> Spinoff from thread "2 phase commit with external data" on java-user.
> The IndexReader should not see the index as changed, after a prepareCommit has been called but before commit is called.

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