jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Boston (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3547) Improve ability of the OakDirectory to recover from unexpected file errors
Date Tue, 03 Nov 2015 16:43:27 GMT

    [ https://issues.apache.org/jira/browse/OAK-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987582#comment-14987582
] 

Ian Boston commented on OAK-3547:
---------------------------------

Added GC on index files and listing files. At present the code will keep a max of 100 directory
listing files files and wont delete any index files referenced in those directory listing
files. When there are 10 or more directory listing files to delete, they are deleted and the
index files are GC'd. The number of directory listing files can be changed.
The check happens every time a non read only OakDirectory is opened. its quick to perform
the check.
Code just pushed, testing using AEM6.1 on MongoMK overnight.

> Improve ability of the OakDirectory to recover from unexpected file errors
> --------------------------------------------------------------------------
>
>                 Key: OAK-3547
>                 URL: https://issues.apache.org/jira/browse/OAK-3547
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>    Affects Versions: 1.4
>            Reporter: Ian Boston
>
> Currently if the OakDirectory finds that a file is missing or in some way damaged, and
exception is thrown which impacts all queries using that index, at times making the index
unavailable. This improvement aims to make the OakDirectory recover to a previously ok state
by storing which files were involved in previous states, and giving the code some way of checking
if they are valid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message