[SERVER-23850] BSONObj size server assertion using mongoimport with data file from M101P online course Created: 21/Apr/16 Updated: 21/Apr/16 Resolved: 21/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Joe Drumgoole (Inactive) | 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 | ||||||||
| Steps To Reproduce: | Run : with 3.2.5 version of the server. |
||||||||
| Participants: | |||||||||
| Description |
|
In lesson HW 5.1 of M101P there is a posts.json file that you must download and load into MongoDB using mongoimport. This import triggers a "BSONObj size" server assertion in MongoDB 3.0, 3,2 and 3.2.5. The file loads successfully in MongoDB 2.6. The mongoimport command is:
I have attached the data file posts.json. The server log error is:
|
| Comments |
| Comment by Joe Drumgoole (Inactive) [ 21/Apr/16 ] | |
|
Thanks stennie will try batchsize. | |
| Comment by Stennie Steneker (Inactive) [ 21/Apr/16 ] | |
|
Hi Joe, This has already been reported as In the interim, a workaround is to use a small --batchSize value, eg:
Regards, |