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

Make save() work with sharding

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.1
    • None
    • Sharding
    • None

    Description

      see http://github.com/mongodb/mongo/commit/1b5e6cb00bd7f562758cc0b5aa445beb8aecc06d for broken tests.

      Right now save()ing an object with an _id field becomes an upsert with ({_id:ID}, WHOLE_OBJECT) which doesn't have the shard key in the query so mongos rejects it.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: