[SERVER-2428] Make the MR inline limits equal to general object size limit Created: 28/Jan/11  Updated: 12/Jul/16  Resolved: 20/Sep/11

Status: Closed
Project: Core Server
Component/s: MapReduce
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Improvement Priority: Minor - P4
Reporter: Antoine Girbal Assignee: Antoine Girbal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

well so right now the code does several checks:

  • result data in format {0: key, 1: val}

    is limited to 8MB.

  • then result data in format {_id: key, value: val} is limited to 16*2/3
    = 10MB.
  • then final object limited to 16MB.

I think we should simplify:

  • result data in format {0: key, 1: val}

    is limited to 16MB.

  • then final object limited to 16MB.
    Unless something horrible happens if we create an object that is
    slightly more than 16MB.

AG

On Thu, 2011-01-27 at 15:24 -0500, Dwight Merriman wrote:
> is that easly fixable (post 1.8)? ideally we can communicate a single
> limit for everything.
>



 Comments   
Comment by Antoine Girbal [ 20/Sep/11 ]

only checks once before post processing that data is under maxObjSize, then one last time when creating final object.

Comment by auto [ 20/Sep/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: SERVER-2428: Make the MR inline limits equal to general object size limit
Branch: master
https://github.com/mongodb/mongo/commit/c0d758f4c95bde181720e1d9ad282db6345d0812

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