[SERVER-20635] Write failed with error code 61 and error message 'upsert Created: 25/Sep/15 Updated: 25/Sep/15 Resolved: 25/Sep/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.0.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andy.Z [X] | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Hi: I'm used the shared Mongo with version 3.0.4. I got the error when i do the follow cmd : db.collection.update(query,update,true,true) error:
more info plz see the attachment |
| Comments |
| Comment by Ramon Fernandez Marina [ 25/Sep/15 ] |
|
Andy.Z, I was convinced this was expected because of the use of {multi:true, upsert:true}: your update may create new documents that can't be targeted to the right shard since you're sharding on _id. However I run into Please feel free to watch Regards, |