[ https://issues.apache.org/jira/browse/LUCENE-5904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-5904: --------------------------------------- Attachment: LUCENE-5904.patch New patch, just adding a check & assert in IFD that it should never delete a pending file that has a non-zero refCount. I think it's ready ... I'll commit later today ... > 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, LUCENE-5904.patch, > LUCENE-5904.patch, LUCENE-5904.patch, 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org