[SERVER-11720] Immutable update checks not done for replacements Created: 15/Nov/13  Updated: 11/Jul/16  Resolved: 18/Nov/13

Status: Closed
Project: Core Server
Component/s: Sharding, Write Ops
Affects Version/s: None
Fix Version/s: 2.5.4

Type: Bug Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

In the case of a replacement the query values are not compared letting things like this through:

// a is immutable
update({a:1}, {a:2})



 Comments   
Comment by Githook User [ 15/Nov/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-11720 minimal patch - Immutable update checks should be done for replacements
Branch: master
https://github.com/mongodb/mongo/commit/58b3bbcc1c366185cfbf9b8551a4c7150f6553d9

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