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 2017/01/11 08:50:58 UTC

[jira] [Commented] (OAK-5416) Async reindex of a sync property does't release created checkpoint

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

Chetan Mehrotra commented on OAK-5416:
--------------------------------------

Patch looks good. 

One more scenario - What is async index of property index fails and then admin for some reason did not proceed to do it again. In that case the checkpoint would be left. May be we can expose a method in {{PropertyIndexAsyncReindexMBean}} to do cleanup. This would allow us to handle any such edge case

> Async reindex of a sync property does't release created checkpoint
> ------------------------------------------------------------------
>
>                 Key: OAK-5416
>                 URL: https://issues.apache.org/jira/browse/OAK-5416
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>            Priority: Minor
>             Fix For: 1.5.18
>
>         Attachments: OAK-5416-v2.patch, OAK-5416-v3.patch, OAK-5416.patch
>
>
> Async reindex of a property index creates a checkpoint to use as a reference, but it fails to clean it up when done. In the usual reindexing scenario the async indexer needs to keep the created checkpoint as a reference for subsequent runs, but this is a 'one off' case, so cleanup of this reference checkpoint must also happen at the end of the cycle.



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