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

    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

        1. OAK-4450-oak-run.patch
          7 kB
          Alex Deparvu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: