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

Configuration presets for DocumentNodeStoreService

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.12, 1.8.0
    • documentmk
    • None

    Description

      When Oak is deployed in an OSGi container, applications usually want to ship a default configuration which is different from the defaults present in Oak. E.g. an application may want to use a default cache size of 1G for the DocumentNodeStoreService instead of the default 256M. Now if a user of the application provides a custom configuration and does not specify the cache size, the value for this configuration will flip back to the Oak default of 256M.

      There should be a way to configure presets for the application that are different from the Oak defaults and then allow a user to customize the configuration while still respecting the presets.

      Attachments

        1. OAK-6917.patch
          11 kB
          Marcel Reutegger
        2. OAK-6917-alternative-approach.patch
          1 kB
          Julian Sedding
        3. OAK-6917.patch
          58 kB
          Marcel Reutegger

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: