[SERVER-4593] mongoimport BUF_SIZE needs to be upgraded Created: 02/Jan/12 Updated: 11/Jul/16 Resolved: 06/Jan/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 2.0.2 |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | José Valentín Gutiérrez Boquete | Assignee: | Ben Becker |
| Resolution: | Done | Votes: | 0 |
| Labels: | insert, rn | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Tested on Debian using mongodb-10gen 2.0.2 |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
In MongoDB 1.8 and newer maxBsonObjectSize is 16MB but using mongoimport the limit is still 4MB due to the deprecated definition of BUF_SIZE. Check https://github.com/mongodb/mongo/blob/master/src/mongo/tools/import.cpp#L48 |
| Comments |
| Comment by auto [ 05/Jan/12 ] |
|
Author: {u'login': u'', u'name': u'Ben Becker', u'email': u'benjamin.becker@10gen.com'}Message: |