OAK-6227 was meant to address similar requirement. May be we add this
to CheckpointMBean
Chetan Mehrotra


On Mon, Aug 28, 2017 at 9:40 PM, Michael Dürig <mdue...@apache.org> wrote:
>
> Hi,
>
> I would prefer to not make the
> org.apache.jackrabbit.oak.segment.SegmentNodeStore#getCheckpoints method
> public as this would bind us to a contract how to store the meta data. Maybe
> we could add some API that is agnostic to the storage format?
>
> Michael
>
>
> On 28.08.17 12:41, Tomek Rekawek wrote:
>>
>> 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
>>
>>
>

Reply via email to