Introduce "matchCollectionUUIDForUpdateLookup" parameter in the change stream stage

XMLWordPrintableJSON

    • 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
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Sebastien Mendez
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: