[DOCS-2225] Mention size limitation of reduce output document on map/reduce page Created: 13/Nov/13  Updated: 16/Mar/15  Resolved: 18/Sep/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.11

Type: Task Priority: Major - P3
Reporter: Thomas Rueckstiess Assignee: Andrew Aldridge
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 9 years, 21 weeks, 6 days ago

 Description   

http://docs.mongodb.org/manual/reference/method/db.collection.mapReduce/#requirements-for-the-reduce-function

On the map/reduce page, some size limitations are mentioned (e.g. emit can only output 1/2 of BSON size), but it doesn't explicitly state that the reduce function is also bound by the 1/2 BSON size = 8MB limit.

The error you get when trying to return a document larger than that limit is

	"errmsg" : "exception: value too large to reduce",
	"code" : 13070,

This should be stated in the list of requirements for the reduce function.



 Comments   
Comment by Githook User [ 18/Sep/14 ]

Author:

{u'username': u'i80and', u'name': u'Andrew Aldridge', u'email': u'i80and@foxquill.com'}

Message: DOCS-2225: Mention size limit of reduce

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/f45c646efef3e288ef18ea05a16903923beca50c

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