lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1214) Possible hidden exception on SegmentInfos commit
Date Wed, 12 Mar 2008 19:22:46 GMT

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

Michael McCandless resolved LUCENE-1214.
----------------------------------------

    Resolution: Fixed

> Possible hidden exception on SegmentInfos commit
> ------------------------------------------------
>
>                 Key: LUCENE-1214
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1214
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3.1
>            Reporter: Mark Miller
>            Assignee: Michael McCandless
>            Priority: Trivial
>         Attachments: LUCENE-1214.patch
>
>
> I am not sure if this is that big of a deal, but I just ran into it and thought I might
mention it.
> SegmentInfos.commit removes the Segments File if it hits an exception. If it cannot remove
the Segments file (because its not there or on Windows something has a hold of it), another
Exception is thrown about not being able to delete the Segments file. Because of this, you
lose the first exception, which might have useful info, including why the segments file might
not be there to delete.
> - Mark

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