lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4456) IndexWriter makes unrefed files, and MockDir cannot detect it
Date Tue, 02 Oct 2012 11:27:08 GMT

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

Robert Muir updated LUCENE-4456:
--------------------------------

    Attachment: LUCENE-4456_mdw_patch.txt

here's the patch to fix MDW.

now more tests other than TestRollingUpdates fail :)
                
> IndexWriter makes unrefed files, and MockDir cannot detect it
> -------------------------------------------------------------
>
>                 Key: LUCENE-4456
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4456
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4456_mdw_patch.txt
>
>
> Because MockDir calls crash() before it checks for unreferenced files, deletes are no
longer allowed.
> this means the unreferenced files check is useless!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message