[SERVER-919] Make save() work with sharding Created: 07/Jan/10 Updated: 12/Jul/16 Resolved: 26/Apr/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| 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. |
| Comments |
| Comment by auto [ 26/Apr/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: tests for |