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

Update does not ensure an _id field

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Storage, Write Ops
    • None
    • Fully Compatible

      Just as insert now always creates an _id field, update should do the same to be consistent. See SERVER-12331 as guide.

      Currently update only creates/requires an _id field if there is an _id index. It seems we should now ensure an the _id field for each updated document modified/inserted.

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: