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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2018/09/06 06:16:00 UTC

[jira] [Created] (OAK-7735) Split segment store persistence

Tomek Rękawek created OAK-7735:
----------------------------------

             Summary: Split segment store persistence
                 Key: OAK-7735
                 URL: https://issues.apache.org/jira/browse/OAK-7735
             Project: Jackrabbit Oak
          Issue Type: Story
          Components: segment-tar
            Reporter: Tomek Rękawek
             Fix For: 1.10


Split segment store persistence is a proxy layer that can be used between the SegmentMK and the actual segment store persistence. It's configured with two backends: read-only and read-write. It delegates all the read requests to the read-only backend, but any write request (eg. creating a new segment) is delegated to the read-write backend.

The main advantage is that we can have a segment store in the cloud (using the oak-segment-azure), shared amongst many Oak instances, starting dynamically. All the changes specific for a given instance are stored locally, with the TarPersistence.

The implementation remembers the state (tar file list, last journal entry) of the read-only backend during it's initialisation, so the read-only backend can be used by a different instance, as long as it only appends new segments (eg. no compaction).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)