[SERVER-13172] Cryptic error when trying to update with a valid big document Created: 12/Mar/14 Updated: 11/Jul/16 Resolved: 17/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 2.6.0-rc1 |
| Fix Version/s: | 2.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Running the code below:
Results in the shell throwing "Cannot output SingleWriteResult from multiple batch result". This appears to be a problem in the splitting logic inside the addToOperationsList method in bulk_api.js. |
| Comments |
| Comment by Randolph Tan [ 17/Mar/14 ] |
|
Changes in bulk_api.js of this commit fixed the issue: https://github.com/mongodb/mongo/commit/b5756056a7b5acba550a7d31a587f3a5b7651e00 |