jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Rękawek (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-7744) Persistent cache for the Segment Node Store
Date Tue, 11 Sep 2018 09:42:00 GMT

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

Tomek Rękawek commented on OAK-7744:

I have a question about:

bq. Clarify life cycle of the caches tar files

Why do we create a separate directory every time the DiskCache is initialized? Can't we reuse
the cache between restarts?

> Persistent cache for the Segment Node Store
> -------------------------------------------
>                 Key: OAK-7744
>                 URL: https://issues.apache.org/jira/browse/OAK-7744
>             Project: Jackrabbit Oak
>          Issue Type: Story
>          Components: segment-tar
>            Reporter: Tomek Rękawek
>            Priority: Major
>             Fix For: 1.10
> With the introduction of custom, remote persistence mechanisms for the SegmentMK (namely
the Azure Segment Store), it makes sense to create another level of cache, apart from the
on-heap segment cache which is currently used.
> Let's implement the persistent cache, using the existing {{TarFiles}} class and storing
the processed segments on disk. It may be created as a pass-through {{SegmentNodeStorePersistence}}
implementation, so it can be composed with other existing persistence implementations, eg.
[split persistence|OAK-7735].

This message was sent by Atlassian JIRA

View raw message