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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: