[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: SERVER-4593: Ensure mongoimport allows imports of up to 16MB in BSON size.
Branch: master
https://github.com/mongodb/mongo/commit/186721566a69192a91d75f424757b5edb2a6c257

Generated at Thu Feb 08 03:06:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.