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 2018/09/12 22:14:00 UTC
[jira] [Created] (OAK-7751) CopyOnReadDirectory#removeDeletedFiles
asks IndexCopier to check timestamp for (remote only) segments.gen leading
to failure to clean up local files
Vikas Saurabh created OAK-7751:
----------------------------------
Summary: 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
Fix For: 1.10
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)