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

Vikas Saurabh resolved OAK-7751.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.9

Fixed in trunk at [r1840769|https://svn.apache.org/r1840769].

> CopyOnReadDirectory#removeDeletedFiles asks IndexCopier to check timestamp 
> for (remote only) segments.gen leading to failure to clean up local files
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-7751
>                 URL: https://issues.apache.org/jira/browse/OAK-7751
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.9.7
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Major
>             Fix For: 1.10, 1.9.9
>
>
> With OAK-7246, {{CopyOnReadDirectory#removeDeletedFiles}} asks 
> {{IndexCopier}} to get timestamp of files from local directory depending on 
> files visible in remote. That method returns {{-1}} (representing "I can't be 
> sure") in case a file doesn't exist in local directory - "segments.gen" is 
> expected to be REMOTE_ONLY and local file clean up gets skipped



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to