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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/11/03 07:22:58 UTC
[jira] [Updated] (OAK-4943) Keep Lucene Commits so that if the
Segments file gets corrupted recovery can be attempted.
[ https://issues.apache.org/jira/browse/OAK-4943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated OAK-4943:
---------------------------------
Fix Version/s: 1.6
> Keep Lucene Commits so that if the Segments file gets corrupted recovery can be attempted.
> ------------------------------------------------------------------------------------------
>
> Key: OAK-4943
> URL: https://issues.apache.org/jira/browse/OAK-4943
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene
> Affects Versions: 1.6
> Reporter: Ian Boston
> Assignee: Chetan Mehrotra
> Fix For: 1.6
>
>
> Currently, Lucene deletes all previous generations of the segments files as it has it uses the default IndexDeletionPolicy. Changing this to an IndexDeletionPolicy that keeps a number of previous segments files will allow an operator to find the most recent valid commit when the current segments file reports corruption. The patch found at https://github.com/apache/jackrabbit-oak/compare/trunk...ieb:KeepLuceneCommits keeps 10 previous commits.
> A more sophisticated policy could be used to save commits non-linearly over time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)