[ https://issues.apache.org/jira/browse/OAK-7065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikas Saurabh resolved OAK-7065. -------------------------------- Resolution: Fixed Fixed on trunk at [r1857937|https://svn.apache.org/r1857937]. The fix only deletes new directories created due to reindexing. It also closes the writers (both reindexing and incremental cases). Clean up of orphan files created during failed incremental indexing would rely on OAK-7246. > Remove orphan file from local directory in case indexing fails > -------------------------------------------------------------- > > Key: OAK-7065 > URL: https://issues.apache.org/jira/browse/OAK-7065 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: lucene > Reporter: Chetan Mehrotra > Assignee: Vikas Saurabh > Priority: Major > Fix For: 1.14.0 > > Attachments: OAK-7065.patch > > > If an indexing cycle fails for some reason it may leave orphan files in local > directory. Later on in next indexing cycle Lucene would try to create files > with same name on local disk and this may fail on Windows where such files > may have been memory mapped and hence cannot be deleted. > We should analyze such a scenario and see if system can handle the failure > case properly -- This message was sent by Atlassian JIRA (v7.6.3#76005)