[SERVER-3750] Need to limit size of backfilled elements when creating an array Created: 01/Sep/11  Updated: 11/Jul/16  Resolved: 02/Sep/11

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0-rc1

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Participants:

 Description   

> db.foo.insert({_id:1, a:[]})
> db.foo.update({_id:1}, {$set:{'a.10000000':'break'}})
BufBuilder grow() > 64MB



 Comments   
Comment by auto [ 02/Sep/11 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Don't try to backfill more than 1.5M array elements SERVER-3750
Branch: master
https://github.com/mongodb/mongo/commit/4d8cd672bb03d466130ba8a48b828e03bb72b3cf

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