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

Optimize document write

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.1
    • Component/s: Core

      Description

      When calling AbstractSession.writeModel, which calls DocumentModelFactory.writeDocumentModel, we read all document parts, even if not yet loaded, to check if they are dirty. But the non-loaded ones cannot be dirty => optimize this unnecessary read.

      This happens for instance when changing the lifecycle state of a document: no need to reread it completely.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: