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: Unresolved
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • v8.0, v7.0, v6.0
    • QE 2024-10-28, QE 2024-11-11, QE 2024-11-25

      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.

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

              Created:
              Updated: