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

Reduce number of calls to updateReadAcls

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0-HF07, 5.9.2
    • Component/s: Core VCS

      Description

      updateReadAcls is called on save().

      But save() is called internaly for some operations like copy/move/checkin that require the DB to be fully up to date.

      => in this cases, the updateReadAcls is not really needed.

      Moving the updateReadAcls from flush() to flushAndScheduleWork

      => this should help for example when using the Workflow engine (that does copy and acls changes)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: