[SERVER-5228] writing as a read-only user inside of group() reduce function doesn't throw Created: 06/Mar/12  Updated: 11/Jul/16  Resolved: 11/Mar/13

Status: Closed
Project: Core Server
Component/s: MapReduce
Affects Version/s: None
Fix Version/s: 2.4.0-rc0

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

I'm not sure if this is really an error since the write is correctly (albeit silently) ignored and we aren't calling getLastError. However, jstests/auth/auth1.js seems to indicate that this once threw so I'm creating a ticket anyway since this is a behavior change.



 Comments   
Comment by auto [ 19/Jan/13 ]

Author:

{u'date': u'2013-01-19T03:32:25Z', u'email': u'milkie@10gen.com', u'name': u'Eric Milkie'}

Message: SERVER-5228 SERVER-8104 fix unit test as access in reduce function is restricted again
Branch: master
https://github.com/mongodb/mongo/commit/d10e66f541958c076dbd4cc5be3a806dba23d31a

Comment by auto [ 09/Mar/12 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'redbeard0531@gmail.com'}

Message: fix broken bits in reenabled test

Prep for SERVER-4692
Uncovered SERVER-5228
Branch: master
https://github.com/mongodb/mongo/commit/d06ef3bd8e857fbe20d671a366f1696d8c3b2a27

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