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

Chetan Mehrotra commented on OAK-2087:
--------------------------------------

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

Yes that would be helpful later however that would require an API change as 
current api does not capture any _checkpoint commit message_. Somay be we 
change the checkpoint api to taken an optional comment

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

Reply via email to