You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Michael Dürig <md...@apache.org> on 2017/08/28 14:01:56 UTC

Fwd: reading the checkpoint metadata in the SegmentMK

Forwarding from jackrabbit-dev. As the Oak list is probably the right 
place to discuss this.

-------- Forwarded Message --------
Subject: reading the checkpoint metadata in the SegmentMK
Date: Mon, 28 Aug 2017 10:41:24 +0000
From: Tomek Rekawek <re...@adobe.com>
Reply-To: dev@jackrabbit.apache.org, Tomek Rekawek <re...@adobe.com>
To: dev@jackrabbit.apache.org <de...@jackrabbit.apache.org>

Hello,

the migration code requires access to the checkpoint metadata: the 
creation and expiry timestamps. They can be read by accessing the 
checkpoints root node (using the method mentioned in the subject). 
However, the method is package-scoped. Can we make it public, so the 
other modules can use it as well?

Alternatively, we may introduce some general way to read that data for 
all NodeStore implementations. Maybe some extra properties in the 
checkpoint properties?

Regards,
Tomek


-- 
Tomek Rękawek | Adobe Research | www.adobe.com
rekawek@adobe.com