You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2019/04/23 07:00:00 UTC

[jira] [Reopened] (OAK-7065) Remove orphan file from local directory in case indexing fails

     [ https://issues.apache.org/jira/browse/OAK-7065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger reopened OAK-7065:
-----------------------------------

[~catholicon], the recent commit breaks oak-run. See OAK-8259.

I also noticed a typo in the class name {{IndexCopier.COWDirecetoryTracker}}.

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