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

Reconsider how to handle duplicate documents in change streams update lookup

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Query Execution

      In an extremely limited set of circumstances, it is possible for a change stream updateLookup to return more than one document if there are multiple documents with the same _id on different shards of a recently-sharded collection. In such cases, we cannot determine which document the update refers to, and so we throw an exception to highlight this situation to the user. We should consider other ways of addressing this scenario.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: