Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-95976

Introduce "matchCollectionUUIDForUpdateLookup" parameter in the change stream stage

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • Fully Compatible
    • v8.0, v7.0, v6.0
    • QE 2024-10-28, QE 2024-11-11, QE 2024-11-25, QE 2024-12-09
    • 200

      After a collection is renamed, some other collection with the old name may be present. When this happens, currently it's possible that changestream look up a document in this new collection, rather than in the collection that was renamed.

      This can cause the MongoSync verifier to falsely say documents match when they do not. 

      We need an internal flag to enforce updateLookup to only return a document from the correct collection.

        There are no Sub-Tasks for this issue.

            Assignee:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Reporter:
            sebastien.mendez@mongodb.com Sebastien Mendez
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: