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