[SERVER-44774] MapReduce in agg does not fail gracefully against a node/cluster with scripting disabled Created: 21/Nov/19  Updated: 29/Oct/23  Resolved: 27/Nov/19

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

Type: Task Priority: Major - P3
Reporter: Jacob Evans Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-42511 Remove query knob internalQueryUseAgg... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-12-02
Participants:

 Description   

This problem is demonstrated on line 29 of jstests/sharding/mr_noscripting.js. We should fix up this test with whatever the new error message is as well.



 Comments   
Comment by Githook User [ 27/Nov/19 ]

Author:

{'name': 'Nicholas Zolnierz', 'username': 'nzolnierzmdb', 'email': 'nicholas.zolnierz@mongodb.com'}

Message: SERVER-44774 Check that scripting is enabled before evaluating javascript expressions
Branch: master
https://github.com/mongodb/mongo/commit/ffb879d9c4a51a08162ee8c0f54c2a9581e3fe1e

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