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

Provide a changestream internal flag to enforce updateLookup to read from the right collection

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • QE 2024-10-28

      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:
            7 Start watching this issue

              Created:
              Updated: