[ 
https://issues.apache.org/jira/browse/OAK-7065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820815#comment-16820815
 ] 

Vikas Saurabh commented on OAK-7065:
------------------------------------

Adding  [^OAK-7065.patch] which currently only has 2 tests to assert that 
folders created due to failed reindexing get cleaned up. The other changes let 
the tests pass BUT it showed that probably active deletion was deleting blobs 
on failed indexing cycles too. I'd investigate that and open a new related 
issue to note that as well. Not committing because of that unexpected outcome 
until we know more.

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

Reply via email to