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 "José Andrés Cordero Benítez (Jira)" <ji...@apache.org> on 2021/02/11 10:36:00 UTC

[jira] [Comment Edited] (OAK-9305) Create checkpoint with given revision

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

José Andrés Cordero Benítez edited comment on OAK-9305 at 2/11/21, 10:35 AM:
-----------------------------------------------------------------------------

Ok, I didn't know that point, in that case I think it doesn't make sense to be in DocumentNodeStoreMBean. I think that was also the main blocker why I was not able to create a test, because I was not able to access the new method.

Thank you for reviewing and for the changes.


was (Author: corderob):
Ok, I didn't know that point, in that case I think it doesn't make sense to be in DocumentCheckpointMBean. I think that was also the main blocker why I was not able to create a test, because I was not able to access the new method.

Thank you for reviewing and for the changes.

> Create checkpoint with given revision
> -------------------------------------
>
>                 Key: OAK-9305
>                 URL: https://issues.apache.org/jira/browse/OAK-9305
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>         Attachments: OAK-9305-create-checkpoint-with-given-revision.patch, OAK-9305.patch
>
>
> Checkpoints are used by async index updates to keep track of what has already been indexed. When such a checkpoint is removed, either by accident or due to an issue in the code, the async index update needs to create indexes from scratch. Depending on the size of the repository this can be an expensive and long running operation. At least for the DocumentNodeStore it is theoretically possible to create a checkpoint retroactively up to the point where the revision garbage collector cleans up old changes. By default this is 24 hours.
> This improvement is about adding a method to the DocumentNodeStoreMBean that allows a user to create a checkpoint with a given revision and lifetime.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)