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

PostgreSQL read acl optimizations crash under high write concurrency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4.1
    • Component/s: Core VCS
    • Upgrade notes:
      Hide

      The upgrade should be automated, for information

      Show
      The upgrade should be automated, for information

      Description

      If asynchronous event listeners create many new documents in the same folder concurrently, the call to CoreSession#save() fails randomly throwing the exception mentioned in the first comment of this jira issue. Note: care has been taken to ensure that the names (local path segments) of the newly created documents do not collide.

      Adding:

      <aclOptimizations enabled="false" />

      inside the tag:

      <repository name="default"
      factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory">
      <repository name="default">
      [...]
      </repository>
      </repository>

      in the default-repository-config.xml file in a custom configuration template makes it possible to workaround the problem.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: