Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7083

CompositeDataStore - ReadOnly/ReadWrite Delegate Support

    XMLWordPrintableJSON

Details

    Description

      Support a specific composite data store use case, which is the following:

      • One instance uses no composite data store, but instead is using a single standard Oak data store (e.g. FileDataStore)
      • Another instance is created by snapshotting the first instance node store, and then uses a composite data store to refer to the first instance's data store read-only, and refers to a second data store as a writable data store

      One way this can be used is in creating a test or staging instance from a production instance. At creation, the test instance will look like production, but any changes made to the test instance do not affect production. The test instance can be quickly created from production by cloning only the node store, and not requiring a copy of all the data in the data store.

      Attachments

        Issue Links

          Activity

            People

              amitjain Amit Jain
              mattvryan Matt Ryan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: