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

Reconsider how to handle duplicate documents in change streams update lookup

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Aggregation Framework
    • None
    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: