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

In Single-datasource mode postcommit/async events should not run before main commit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.7.1
    • Fix Version/s: 5.7.2
    • Component/s: Runtime

      Description

      In Single-Datasource mode the postcommit/async are run through an afterCompletion hook, but it's running before the ConnectionHelper shared Synchronizer that is reponsible for committing and closing the connection in the main thread.

      So the postcommit/async work, if it runs fast, may not see work done by the main thread.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: