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

Improve concurrent updates removing elements from lists on MongoDB

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The way elements are removed from lists on MongoDB is improved during concurrent updates.
    • Tags:
    • Team:
      FG
    • Sprint:
      nxFG 11.3.1
    • Story Points:
      5

      Description

      When two concurrent updates attempt to remove different elements from a list, one of the updates may be lost.

      This happens for instance when concurrently removing proxies to the same document, which needs to update the ecm:proxyIds of the document (NXP-30001).

      To solve this, improve the diff analysis of lists and detect the case where one element is removed, then use the MongoDB $pullAll operation.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d