[
https://issues.apache.org/jira/browse/OAK-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Parvulescu reassigned OAK-2088:
------------------------------------
Assignee: Alex Parvulescu
> AsyncIndexUpdate can leave orphaned checkpoint in case of abrupt shutdown
> -------------------------------------------------------------------------
>
> Key: OAK-2088
> URL: https://issues.apache.org/jira/browse/OAK-2088
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Chetan Mehrotra
> Assignee: Alex Parvulescu
> Fix For: 1.1, 1.0.6
>
> Attachments: OAK-2088-v2.patch, OAK-2088.patch
>
>
> Currently AsyncIndexUpdate creates a checkpoint with a lifetime of 3
> years. Post index complete the checkpoint is moved to point to revision upto
> which indexing is done and previous checkpoint is released.
> Now if a system is killed when a index update is in progress particularly in
> run method where a new checkpoint gets created (Line 229) then that
> checkpoint would not be released and also would not be recorded in index
> metadata. Such a checkpoint would prevent GC for a long time.
> http://markmail.org/thread/e4jqkk2malfgjxx6
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)