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

Only allow equality matches on shard key in updates with upsert=true

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

      db.foo.update({key: {$gt: 1}},

      {...}

      ) shouldn't be allowed

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

              Created:
              Updated:
              Resolved: