[SERVER-7174] Implement all update() operators Created: 26/Sep/12  Updated: 02/Aug/18  Resolved: 09/Jul/13

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: 2.5.1

Type: Task Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 1
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-7407 Adjust the behavior of $unset for nes... Closed
depends on SERVER-7557 Update doesn't support "$"s in the fi... Closed
depends on SERVER-8046 Complete mutable bson abstraction / i... Closed
depends on SERVER-9836 Add assert.docEq Closed
Duplicate
is duplicated by SERVER-4509 $each must check its parms Closed
Related
is related to SERVER-6852 Disallow empty path components in doc... Backlog
Participants:

 Description   

include unit tests



 Comments   
Comment by auto [ 01/Aug/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: don't log when noop because of wrong context
Branch: master
https://github.com/mongodb/mongo/commit/af698e6cc9c6d377bf6c679aa33a018ccf35176c

Comment by auto [ 15/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: don't allow multiple positional elements
Branch: master
https://github.com/mongodb/mongo/commit/5fb3b3d28710ab5b02af3ab574a495feea0c9d43

Comment by auto [ 15/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: $push fix for missing dest
Branch: master
https://github.com/mongodb/mongo/commit/746dee394d9529b42b785d4c72c1187bc33c936f

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: fix pullall unit test
Branch: master
https://github.com/mongodb/mongo/commit/4f7713325020275578cce51dcd6ba7a1a19cfb22

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: remove checkDoc, use element copy constructor, add test for log without apply
Branch: master
https://github.com/mongodb/mongo/commit/2412e834cf3505f69a57b5443dc3484b171c0b68

Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7174 Fix previous commit of $setOnInsert.
Branch: master
https://github.com/mongodb/mongo/commit/fedd312c424fc5f82f7be1dad13f3dd74403c4a4

Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7174 $setOnInsert is syntactic sugar for a contextual $set.
Branch: master
https://github.com/mongodb/mongo/commit/dfc904e4c74a5f1c17b817c9efc86d9ac1de6b6f

Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: cleanup tests, + use assert.docEq for doc compares
Branch: master
https://github.com/mongodb/mongo/commit/2dff1cb34284427ecec2028e61000ad7d4cd6947

Comment by Alberto Lerner [ 03/Jul/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7175 $pushAll is syntactic sugar for $push with $each.
Branch: master
https://github.com/mongodb/mongo/commit/2b400fabe2fbf0b7c62faeea329aacc15af71ed6

Comment by auto [ 20/Jun/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: remove unreachable return
Branch: master
https://github.com/mongodb/mongo/commit/709c667c5fa4dffd8a62d97ac24a1db5abcba7b3

Comment by auto [ 18/Jun/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: new rename mod
Branch: master
https://github.com/mongodb/mongo/commit/800da131d4b2877ec924f6a45dadc8574645211c

Comment by auto [ 06/Jun/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: pop log and test refactoring
Branch: master
https://github.com/mongodb/mongo/commit/220b1031ddb979159e21aaac13807f694fb00842

Comment by auto [ 01/Jun/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Cleanup and strengthen some new modifier tests
Branch: master
https://github.com/mongodb/mongo/commit/0c3ca38ca7065f064608ac2a6e4c7822a0c822fb

Comment by auto [ 31/May/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Work around apparent OS X GCC 4.2 optimizer confusion
Branch: master
https://github.com/mongodb/mongo/commit/97e3e31be450f754b92006726153a251087e31ca

Comment by auto [ 31/May/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Don't reorder elements to be added in addToSet
Branch: master
https://github.com/mongodb/mongo/commit/9cd31fde02b3e701f5c354cbbc5a473957e155a5

Comment by Andrew Morrow (Inactive) [ 31/May/13 ]

I've just reproduced this locally.

Comment by Eric Milkie [ 31/May/13 ]

The modifier_push_sorter_test continues to fail on OS X – it has failed since May 22:
http://buildbot.mongodb.org:8081/builders/OS%20X%2010.5%2064-bit?numbuilds=50

Comment by auto [ 24/May/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: fix build/test errors in debug mode
Branch: master
https://github.com/mongodb/mongo/commit/1637fb59af782793af74e561246109adec51f7ab

Comment by auto [ 24/May/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: new $pop modifier
Branch: master
https://github.com/mongodb/mongo/commit/c5f43cbb26ae515e50043735e3fcea54218584c9

Comment by auto [ 24/May/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-7174: new $pullAll modifier
Branch: master
https://github.com/mongodb/mongo/commit/72a3bc4bdf55951e7b482db189b975598bb6866d

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Add support for $pull on new update framework
Branch: master
https://github.com/mongodb/mongo/commit/98e9bc926749a7096b19c2e1fea636cd96380597

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Add support for $addToSet on new update framework
Branch: master
https://github.com/mongodb/mongo/commit/a283ea34da6f6b64c4c6ddf21e5f6fbe1a4ef4f9

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Add a new algorithm to de-duplicate children
Branch: master
https://github.com/mongodb/mongo/commit/c4fdee5db93ed24c5dc07c8b44765a4bde214ae8

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Only validate sign direction on document mismatches
Branch: master
https://github.com/mongodb/mongo/commit/6e2d2139e7242b0e1b182a258dfba1e7b6924d8b

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Fix a minor issue with mutables checkDoc
Branch: master
https://github.com/mongodb/mongo/commit/0b83e1503a77c769bfc3ffbd322ab1bcb847bc88

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Minor cleanups for $bit
Branch: master
https://github.com/mongodb/mongo/commit/0f3b3455aad38fb566ca0acbe6e2f83c54315f8f

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7174 $push mod implementation on new update framework.
Branch: master
https://github.com/mongodb/mongo/commit/b22026c9025967522dfaa0c7a1207835df641f49

Comment by auto [ 22/May/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7174 $push mod implementation on new update framework.
Branch: master
https://github.com/mongodb/mongo/commit/b22026c9025967522dfaa0c7a1207835df641f49

Comment by auto [ 09/May/13 ]

Author:

{u'date': u'2013-05-09T07:15:34Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-7174 Visual Studio – add modifier_bit files
Branch: master
https://github.com/mongodb/mongo/commit/1df1d5e6e8503c2092fc6ff648f4547b2444a745

Comment by auto [ 09/May/13 ]

Author:

{u'date': u'2013-05-08T21:49:45Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Re-enable three way document validation in modifier tests
Branch: master
https://github.com/mongodb/mongo/commit/17760c3589ca368c00ed3f16aec0c9d6e1c2c6ea

Comment by auto [ 09/May/13 ]

Author:

{u'date': u'2013-05-07T14:18:55Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Implement $bit on new update framework
Branch: master
https://github.com/mongodb/mongo/commit/fc47942cd0894c38bab27f7dc95f6257ee070589

Comment by auto [ 09/May/13 ]

Author:

{u'date': u'2013-05-08T22:06:50Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Remove a stale TODO in $inc modifier
Branch: master
https://github.com/mongodb/mongo/commit/5e4e9ad9c5672789c984f17fd3f235d78fa7f5a3

Comment by auto [ 08/May/13 ]

Author:

{u'date': u'2013-05-07T15:15:47Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Inline trivial methods of SafeNum consistently into inline header
Branch: master
https://github.com/mongodb/mongo/commit/8540c7ffb60c49534779c423e066e1e47d6962c4

Comment by auto [ 08/May/13 ]

Author:

{u'date': u'2013-05-06T21:18:25Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Add support for binary 'and' and 'or' to SafeNum
Branch: master
https://github.com/mongodb/mongo/commit/9f43fb9a79e91928d20b2c1053bd42c0754db589

Comment by auto [ 07/May/13 ]

Author:

{u'date': u'2013-05-06T21:22:08Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-7174 Implement $inc on new update framework
Branch: master
https://github.com/mongodb/mongo/commit/3049ab5ae2b3e672f17a001be0f7cdf7e599a9fb

Comment by auto [ 07/May/13 ]

Author:

{u'date': u'2013-05-07T16:25:02Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-7174 Visual Studio – add modifier_unset files
Branch: master
https://github.com/mongodb/mongo/commit/a32e09e46f2bbb5237cb49b22deb59f03d64d832

Comment by auto [ 07/May/13 ]

Author:

{u'date': u'2013-05-07T13:26:58Z', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7174 clean commented out code portion.
Branch: master
https://github.com/mongodb/mongo/commit/da0962ca3d509a2d93b2140ac1508fa2fbdf04d5

Comment by auto [ 07/May/13 ]

Author:

{u'date': u'2013-05-07T13:24:31Z', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7174 $unset update mod built over the new mods framework.
Branch: master
https://github.com/mongodb/mongo/commit/e3512ba585065163d7e7a87e6431461a0976d11a

Comment by auto [ 07/May/13 ]

Author:

{u'date': u'2013-05-07T10:15:34Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-7174 SERVER-6400 Visual Studio – add new files
Branch: master
https://github.com/mongodb/mongo/commit/520c0e117c639c65fce53c6df4de3159b62f3874

Comment by auto [ 06/May/13 ]

Author:

{u'date': u'2013-05-06T14:42:54Z', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7174 $set update mod built over the new mods framework.
Branch: master
https://github.com/mongodb/mongo/commit/d6a2d8027f1cbc684d960b8f522e3ffb4043d6d2

Comment by auto [ 06/May/13 ]

Author:

{u'date': u'2013-05-06T14:40:27Z', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-7174 Renamed the mods common interface and its calls to be simpler.
Branch: master
https://github.com/mongodb/mongo/commit/a6dab30a41f5a4a7cb2ed64e534eb2bd6b2a8d97

Comment by Kevin J. Rice [ 15/Mar/13 ]

Possibly related case: https://jira.mongodb.org/browse/CS-6195 "Ability to $appendBytes to a BSON element"

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