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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2019/02/08 13:43:00 UTC
[jira] [Commented] (OAK-7751)
CopyOnReadDirectory#removeDeletedFiles asks IndexCopier to check timestamp
for (remote only) segments.gen leading to failure to clean up local files
[ https://issues.apache.org/jira/browse/OAK-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763604#comment-16763604 ]
Vikas Saurabh commented on OAK-7751:
------------------------------------
Backported to 1.8 at [r1853216|https://svn.apache.org/r1853216].
> 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.0, 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)