[SERVER-2575] Mongorestore limited to restore documents which are larger than 5MB Created: 17/Feb/11  Updated: 12/Jul/16  Resolved: 17/Feb/11

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 1.7.6
Fix Version/s: 1.8.0-rc0

Type: Bug Priority: Major - P3
Reporter: Zoltan Lorincz Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All


Operating System: ALL
Participants:

 Description   

Mongorestore doesn't restore documents which are larger than 5MB.

The following error is shown:
got an object of size: 5458593 terminating...
assertion: 10264 invalid object size

Possible Fix:

  • Modify "tools/tool.cpp"
    change line 392 to const int BUF_SIZE = 1024 * 1024 * 16;


 Comments   
Comment by auto [ 17/Feb/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: update mongorestore for large documents SERVER-2575
https://github.com/mongodb/mongo/commit/07dfc029c76df4e1324897544818cbdb8c765323

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