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

Update does not ensure an _id field

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • None
    • Storage, Write Ops
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: