[SERVER-9448] Read-only receivers in MapReduce code cause modifications to be silently ignored Created: 24/Apr/13  Updated: 11/Jul/16  Resolved: 25/Apr/13

Status: Closed
Project: Core Server
Component/s: MapReduce
Affects Version/s: 2.4.3
Fix Version/s: 2.4.4, 2.5.0

Type: Bug Priority: Critical - P2
Reporter: Ben Becker Assignee: Ben Becker
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-3630 'this' supplied to map function not r... Closed
is related to SERVER-3631 modifying a non object member of a re... Closed
Operating System: ALL
Participants:

 Description   

This can be a problem for some user scripts which worked fine with our spidermonkey implementation. This is because our SMScope::invoke() seems to ignore the read-only receiver flag.



 Comments   
Comment by auto [ 13/May/13 ]

Author:

{u'date': u'2013-04-25T19:43:15Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}

Message: SERVER-9448: make map and reduce argument and receiver objects mutable
Branch: v2.4
https://github.com/mongodb/mongo/commit/928e0a6aca7d1f364ac22df3cae5432b56293c1f

Comment by auto [ 25/Apr/13 ]

Author:

{u'date': u'2013-04-25T19:43:15Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}

Message: SERVER-9448: make map and reduce argument and receiver objects mutable
Branch: master
https://github.com/mongodb/mongo/commit/a94c9391ab226fb7e19b2f41a41986b603fcc534

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