Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2833 Refactor TarMK
  3. OAK-4450

Properly split the FileStore into read-only and r/w variants

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stillalex Alex Deparvu
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment