[
https://issues.apache.org/jira/browse/LUCENE-6616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-6616:
---------------------------------------
Attachment: LUCENE-6616.patch
New patch, I think it's ready.
I reviewed the places where I now call IFD.deleteNewFiles, and except for one
case (which I fixed) the files we pass are all files that we have written. So
I think it's safe.
I also added an assert in IFD where it actually deletes the file that if it
hits an IOExc, it is NOT a NoSuchFileExc nor FNFE, which may (not guaranteed!)
be thrown when you try to delete a non-existent file.
> IndexWriter should list files once on init, and IFD should not suppress FNFE
> ----------------------------------------------------------------------------
>
> Key: LUCENE-6616
> URL: https://issues.apache.org/jira/browse/LUCENE-6616
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 5.3, Trunk
>
> Attachments: LUCENE-6616.patch, LUCENE-6616.patch, LUCENE-6616.patch
>
>
> Some nice ideas [~rcmuir] had for cleaning up IW/IFD on init ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]