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

VCS remote: better distribution of invalidation events

    XMLWordPrintable

    Details

    • Tags:
    • Impact type:
      API added
    • Upgrade notes:
      Hide

      New events will be sent if the repository is configured with <repository sendInvalidationEvents="true">.
      The event sent is "vcsInvalidations" and contains two properties, "modifiedDocIds" and "modifiedParentIds".
      It's not at the moment possible to efficiently notify about deleted documents. The only info you get is that their parent (second property) is modified.

      Show
      New events will be sent if the repository is configured with <repository sendInvalidationEvents="true">. The event sent is "vcsInvalidations" and contains two properties, "modifiedDocIds" and "modifiedParentIds". It's not at the moment possible to efficiently notify about deleted documents. The only info you get is that their parent (second property) is modified.

      Description

      With VCS remote, VCS-level invalidation events (org.nuxeo.ecm.core.storage.EventConstants.EVENT_VCS_INVALIDATIONS) aren't distributed to the clients when a modification is done on the server or on another client.
      This also happens for clustering, there are no events between cluster nodes.

      VCS-level invalidation events are important for observation of changes without polling.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: