[
https://issues.apache.org/jira/browse/LUCENE-5904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108965#comment-14108965
]
Michael McCandless commented on LUCENE-5904:
--------------------------------------------
OK the EOFE is "just" because the very first commit is corrupt.
It happens with this seed because MDW throws an exc when IW is writing
segments_1, and then IW tries to remove segments_1 and MDW throws another
exception (new virus checker in this patch) and so a corrupt segments_1 is
left. If there were a prior commit, then at read time we would fall back to it.
So net/net I don't think there's anything to fix here, except +1 to just have
the test make an empty first commit (before any MDW exceptions are enabled).
> Add MDW.enableVirusScanner / fix windows handling bugs
> ------------------------------------------------------
>
> Key: LUCENE-5904
> URL: https://issues.apache.org/jira/browse/LUCENE-5904
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-5904.patch, LUCENE-5904.patch
>
>
> IndexWriter has logic to handle the case where it can't delete a file (it
> puts in a retry list and indexfiledeleter will periodically retry, you can
> force this retry with deletePendingFiles).
> But from what I can tell, this logic is incomplete, e.g. its not properly
> handled during CFS creation, so if a file temporarily can't be deleted things
> like flush will fail.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]