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

XMLWordPrintableJSON

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

      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 Stearn
              Reporter:
              Mathias Stearn
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: