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

Refactor DocumentNodeStoreService and dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • blob, mongomk

    Description

      Change how DocumentNodeStoreService, DocumentNodeStore, DocumentStore, BlobStore, DocumentMK.Builder are wired. It is unclear why registerNodeStoreIfPossible and registerNodeStore need additional logic to load the right BlobStore and DocumentStore.

      • Ideally (Document)NodeStore references one DocumentStore and one BlobStore. Configuration for them are loaded over respective OSGi configurations.
      • Cache should be handled in (Document)NodeStore and be independent from DocumentStore, BlobStore.
      • DocumentMK.Builder and DocumentNodeStoreService should be obsolete.
      • DocumentNodeStore is too long and could ideally be split in smaller files.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Philipp Suter Philipp Suter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: