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 "Francesco Mari (JIRA)" <ji...@apache.org> on 2016/07/14 19:58:21 UTC

[jira] [Updated] (OAK-4450) Properly split the FileStore into read-only and r/w variants

     [ https://issues.apache.org/jira/browse/OAK-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Mari updated OAK-4450:
--------------------------------
    Fix Version/s:     (was: Segment Tar 0.0.4)
                   Segment Tar 0.0.6

> Properly split the FileStore into read-only and r/w variants 
> -------------------------------------------------------------
>
>                 Key: OAK-4450
>                 URL: https://issues.apache.org/jira/browse/OAK-4450
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: segment-tar
>            Reporter: Michael Dürig
>              Labels: technical_debt
>             Fix For: 1.6, Segment Tar 0.0.6
>
>
> The {{ReadOnlyFileStore}} class currently simply overrides the {{FileStore}} class replacing all mutator methods with a trivial implementation. This approach however leaks into its ancestor as the read only store needs to pass a flag to the constructor of its super class so some fields can be instantiated properly for the read only case. 
> We should clean this up to properly separate the read only and the r/w store. Most likely we should factor the commonalities into a common, abstract base class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)