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

DocumentNodeStore gets initialized multiple time with RDB persistence

    XMLWordPrintableJSON

Details

    Description

      Depending on startup sequence it can happen that DocumentNodeStore gets initialized multiple times.

      So far with Mongo DocumentNodeStoreService was only dependent on one external reference of BlobStore. However with RDB there are two more external reference for DataSource one for nodes and other for blobs.

      SCR (Felix Service Component Runtime) would invoke both bindDataSource and bindBlobDataSource and currently there is no check to avoid re initialization.

      Attachments

        1. DocumentNodeStoreConfigTest.groovy
          9 kB
          Julian Reschke
        2. OAK-2972.diff
          8 kB
          Julian Reschke

        Activity

          People

            reschke Julian Reschke
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: