[SERVER-28767] Create IncNode/MulNode Created: 12/Apr/17  Updated: 12/Oct/17  Resolved: 08/Jun/17

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

Type: Task Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Justin Seyster
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-28621 Parse BSON update expression into an ... Closed
is depended on by SERVER-28777 Always parse update expression as an ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-05-29, Query 2017-06-19
Participants:

 Description   

Create IncNode/MulNode implementing UpdateLeafNode. Ensure we can parse $inc/$mul to an IncNode/MulNode.



 Comments   
Comment by Githook User [ 07/Jun/17 ]

Author:

{u'username': u'jseyster', u'name': u'Justin Seyster', u'email': u'justin.seyster@mongodb.com'}

Message: SERVER-28767 More test coverage for ArithmeticNode

The new tests make sure that $inc and $mul updates operate correctly
on BSON objects that have been mutated in ways that can "deserialize"
them.

In addition, this commit contains some cleanup and reorganization of
the existing test.
Branch: master
https://github.com/mongodb/mongo/commit/10e3bc5992cb537a1a23722143aacc101431d95a

Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'jseyster', u'name': u'Justin Seyster', u'email': u'justin.seyster@mongodb.com'}

Message: SERVER-28767 UpdateNode::apply uses exceptions instead of Status.
Branch: master
https://github.com/mongodb/mongo/commit/d29102f111cc652666adc4472b55a1f7c44a8eb7

Comment by Githook User [ 02/Jun/17 ]

Author:

{u'username': u'jseyster', u'name': u'Justin Seyster', u'email': u'justin.seyster@mongodb.com'}

Message: SERVER-28767 Create IncNode/MulNode

A lot of the update modifiers have behavior that is very similar to
$set in how paths that don't yet exist get created (including $inc and
$mul, which are added in this commit). The new PathCreatingNode will
allow us to use the same path creation code path in all those
modifiers.
Branch: master
https://github.com/mongodb/mongo/commit/1036e4ad6cf2465612faaa7cc57693f2c80e41af

Generated at Thu Feb 08 04:19:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.