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

Configuration presets for DocumentNodeStoreService

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.12, 1.8.0
    • Component/s: documentmk
    • Labels:
      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
          58 kB
          Marcel Reutegger
        2. OAK-6917.patch
          11 kB
          Marcel Reutegger
        3. OAK-6917-alternative-approach.patch
          1 kB
          Julian Sedding

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: