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 2014/09/10 10:33:28 UTC
[jira] [Created] (OAK-2088) AsyncIndexUpdate can leave orphaned
checkpoint in case of abrupt shutdown
Chetan Mehrotra created OAK-2088:
------------------------------------
Summary: 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
Fix For: 1.1, 1.0.7
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)