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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2017/01/06 16:15:58 UTC

[jira] [Comment Edited] (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=15804863#comment-15804863 ] 

Alex Parvulescu edited comment on OAK-5416 at 1/6/17 4:15 PM:
--------------------------------------------------------------

attaching v2, a better version that also takes into account having no changes between 2 consecutive runs of the indexer (I had to disable an optimisation to allow proper finalization and cleanup of the async reindex).

[edit] patch still needs more work, this version is somehow too eager to clean the checkpoints. I'm going to continue on Monday. 


was (Author: alex.parvulescu):
attaching v2, a better version that also takes into account having no changes between 2 consecutive runs of the indexer (I had to disable an optimisation to allow proper finalization and cleanup of the async reindex).

> 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.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)