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

Update does not ensure an _id field

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.5.5
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: