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

Don't treat updates without upsert as a save() in sharding

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.1
    • None
    • Sharding
    • None
    • ALL

    Description

      We currently do the wrong thing on updates like db.foo.update({_id:1}, {$inc:{a:1}}). We need to treat it as multi unless sharding by _id.

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            mathias@mongodb.com Mathias Stearn
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: