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

Reduce contention on directory getSession

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 7.10
    • Component/s: Directory

      Description

      The SQLDirectory.getSession method is synchronized, on high concurrency it creates contentions:

      Java Monitor Blocked
       at org.nuxeo.ecm.directory.sql.SQLDirectory.getSession()
       at org.nuxeo.ecm.directory.DirectoryServiceImpl.open(String, DocumentModel)
      

      double check if we can avoid this sync.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: