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

Upsert permits document to contain multiple _id fields

    • Query Optimization
    • Minor Change
    • ALL
    • v7.0, v6.3, v6.0, v5.0, v4.4, v4.2
    • QO 2023-05-15, QO 2023-05-29

      The update subsystem lacks the equivalent of all of these lines from fixDocumentForInsert() to check the document doesn't have multiple _id fields when inserted by an update sent with upsert=true.

            Assignee:
            chii.huang@mongodb.com Chi-I Huang
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: