[SERVER-15851] Group command should handle scripting errors Created: 28/Oct/14  Updated: 19/Sep/15  Resolved: 03/Sep/15

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

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: YunHe Wang
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Quint 9 09/18/15
Participants:

 Description   

The group command does not examine the return value of calls to Scope::exec() and Scope::invoke(). This could cause the command to silently return truncated or incorrect results in cases where there is an execution error.



 Comments   
Comment by Githook User [ 03/Sep/15 ]

Author:

{u'name': u'Yunhe (John) Wang', u'email': u'yunhe.wang@mongodb.com'}

Message: SERVER-15851 Added error checking to group's call on invoke() and exec()

Closes #1014

Signed-off-by: David Storch <david.storch@10gen.com>
Branch: master
https://github.com/mongodb/mongo/commit/ce660e56d96f587929ce4b072024311b292b9b27

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