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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/11/14 11:36:02 UTC
[jira] [Closed] (OAK-5076) CopyOnWrite directory should clear
working set of files being written upon start
[ https://issues.apache.org/jira/browse/OAK-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-5076.
---------------------------------
Bulk close for 1.5.13
> CopyOnWrite directory should clear working set of files being written upon start
> --------------------------------------------------------------------------------
>
> Key: OAK-5076
> URL: https://issues.apache.org/jira/browse/OAK-5076
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.6, 1.5.13
>
>
> {{CopyOnWriteDirectory}} makes use of working set (introduced with OAK-3110) to notify the {{CopyOnReadDirectory}} that those files are in use. This would ensure that CoR dir does not consider such files as garbage.
> This set gets cleared when CoW dir closes cleanly. However in case it does not close cleanly such a state would not be cleared. To handle such cases we should clear the working set upon construction of CoW dir as there can be only one writer by design
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)