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 "Michael Marth (JIRA)" <ji...@apache.org> on 2014/09/10 09:10:28 UTC

[jira] [Commented] (OAK-2087) Record time when checpoint is created in SegmentNodeStore

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

Michael Marth commented on OAK-2087:
------------------------------------

[~chetanm], I think it would be helpful to additionally add metadata (like a simple String) to the checkpoint that the creator of the checkpoint can set. That way we could differentiate between CPs created by backup, indexer, etc if we need that.
WDYT?

> Record time when checpoint is created in SegmentNodeStore
> ---------------------------------------------------------
>
>                 Key: OAK-2087
>                 URL: https://issues.apache.org/jira/browse/OAK-2087
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: OAK-2087.patch
>
>
> Currently SegmentNodeStore stores the end time with the checkpoint data. It would be helpful to also store the time when checkpoint was created. 
> For example AsyncIndexUpdate creates a checkpoint before indexing. It can be safely assumed that repository state before the time when that checkpoint was created is indexed (giev and take some delta say a minute). 



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