Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8863

make repository initialization not lazy

    XMLWordPrintable

    Details

      Description

      As this time, the repository initialization is done by the first opening session in a temporary tx. As described in NXP-8862, this doesn't work.

      We need a separated tx, for being sure that concurrent transaction will get the new documents at the time they will be able to open the repository. We can't spawn a new tx as the calling session will not get in return the documents.

      As long as we don't support suspend/resume tx, we need to control the repository initialization in the framework bootstrap.

      This can be done by introducing a start level onto runtime components, and let the runtime call-backing the component for the application started event in the proper order.

      We're thinking about to implement the repository initialization handling into the core repository component.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: