[SERVER-6399] Refactor update() code Created: 11/Jul/12  Updated: 26/Sep/17  Resolved: 11/Oct/13

Status: Closed
Project: Core Server
Component/s: Internal Code, Write Ops
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Improvement Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Alberto Lerner
Resolution: Done Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-10526 Update refactor switch broke 'and2.js... Closed
depends on SERVER-10379 Allow sharding metadata collections t... Closed
is depended on by SERVER-2592 The fields in a document are reordere... Closed
is depended on by SERVER-6833 Secondary crashes when replicating a ... Closed
is depended on by SERVER-8716 Various update() operators for Binary... Backlog
is depended on by SERVER-340 $setOnInsert modifier for upsert Closed
is depended on by SERVER-831 Positional Operator Matching Nested A... Closed
is depended on by SERVER-974 $subset query operator Closed
is depended on by SERVER-1243 New operator to update all matching i... Closed
is depended on by SERVER-375 $mul for update Closed
is depended on by SERVER-991 $push with $slice + $sort Closed
is depended on by SERVER-1534 $min, $max field update operators Closed
is depended on by SERVER-1650 Server Side Timestamps Closed
is depended on by SERVER-2362 Add new Deque/Set operation modifiers Closed
is depended on by SERVER-4362 Add XOR operator to $bit Closed
is depended on by SERVER-3281 Support $bit operator for binary types Backlog
is depended on by SERVER-8069 Support full $slice / $sort semantics... Closed
is depended on by SERVER-2363 $push/$pushAll support for insertion ... Closed
Duplicate
duplicates SERVER-5944 modifier failure with empty string fi... Closed
is duplicated by SERVER-7058 update on field with geo-index fails ... Closed
is duplicated by SERVER-7072 Improve error reporting message on in... Closed
is duplicated by SERVER-5517 Update operator rewrite (tracking tic... Closed
Related
related to SERVER-1606 Oplog entries contain repeated fields... Closed
related to SERVER-7150 update() able to create fields which ... Closed
related to SERVER-8407 upserts handle operators (i.e. $exist... Closed
related to SERVER-8526 Validate modifiers for updates, error... Closed
related to SERVER-10009 Order of operators matters when using... Closed
related to SERVER-10685 $setOnInsert prevents setting the _id Closed
related to SERVER-2191 $push() to front of array Closed
related to SERVER-1014 A modifier to delete a single value f... Closed
related to SERVER-8193 Optimize in place updates that modify... Closed
related to SERVER-8746 $push w/ $sort: make $slice optional Closed
is related to SERVER-7515 idempotence violation when intermedia... Open
is related to SERVER-6864 positional operator projection inclus... Closed
is related to SERVER-7508 conflicting mods not always detected,... Closed
is related to SERVER-8422 Log/getLastError/profile output repor... Closed
is related to SERVER-9121 Error on invalid $pull: "{$pull: {fla... Closed
is related to SERVER-10711 $setOnInsert mods should not conflict... Closed
is related to SERVER-458 JavaScript $function in update Closed
is related to SERVER-4362 Add XOR operator to $bit Closed
is related to SERVER-6566 Support conditional updates: $updates Closed
is related to SERVER-7446 $inc should handle negative overflow ... Closed
is related to SERVER-10958 Provide _id and error for failed docu... Closed
Participants:
Case:

 Comments   
Comment by auto [ 18/Sep/13 ]

Author:

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

Message: SERVER-6399: _okForStorage – CodeWScope fix
Branch: master
https://github.com/mongodb/mongo/commit/166e00122ccd947beddae28274f38677cc789980

Comment by auto [ 18/Sep/13 ]

Author:

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

Message: SERVER-6399: Return Status from okForStorage-like checks
Branch: master
https://github.com/mongodb/mongo/commit/fbed011f2958405d2cf7bd1dafde2e7bd3df0db6

Comment by auto [ 09/Aug/13 ]

Author:

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

Message: SERVER-6399: fix unit tests after 'Support replacement with empty doc and log that' commit
Branch: master
https://github.com/mongodb/mongo/commit/3d1dd2f5cc905fe0458e3d76d223ec9ee6d3358c

Comment by auto [ 09/Aug/13 ]

Author:

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

Message: SERVER-6399: revert counting to number matched, including noops
Branch: master
https://github.com/mongodb/mongo/commit/9192eb24518d41b1e58168628f6d28a1d17990ae

Comment by auto [ 09/Aug/13 ]

Author:

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

Message: SERVER-6399: Support replacement with empty doc and log that
Branch: master
https://github.com/mongodb/mongo/commit/216513d3c7a819e14953dbc05d5a0829af149128

Comment by auto [ 09/Aug/13 ]

Author:

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

Message: SERVER-6399: validate with okForStorageAsRoot on inserts
Branch: master
https://github.com/mongodb/mongo/commit/790c6462b72613862a3c25dcc8ba14bc24d9d87d

Comment by auto [ 18/Jul/13 ]

Author:

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

Message: SERVER-6399 Reject non-object entries in $each in $push with $sort
Branch: master
https://github.com/mongodb/mongo/commit/f83212339810f4cecbc944fede69c9455bd4531c

Comment by auto [ 15/Jul/13 ]

Author:

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

Message: SERVER-6399 Fix upsert logic when the collection is not empty.
Branch: master
https://github.com/mongodb/mongo/commit/c0cd2bc13effe27c31c9bd2ae2ef334f2044aa79

Comment by auto [ 15/Jul/13 ]

Author:

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

Message: SERVER-6399 Fix update_serOnInsert.js test under new update framework.
Branch: master
https://github.com/mongodb/mongo/commit/e375392233c712e1c9d628f209796883fa3463c2

Comment by auto [ 10/Jul/13 ]

Author:

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

Message: SERVER-6399: allow smoke to accept setParameter
Branch: master
https://github.com/mongodb/mongo/commit/03c4a237478c5637e36184a5cf1931435408fdf6

Comment by auto [ 11/Dec/12 ]

Author:

{u'date': u'2012-12-11T16:36:58Z', u'email': u'alerner@10gen.com', u'name': u'Alberto Lerner'}

Message: SERVER-6399 Simplified FieldPart class.
Branch: master
https://github.com/mongodb/mongo/commit/23c70544e24b5b2be2797a079196152d8232914c

Comment by auto [ 11/Dec/12 ]

Author:

{u'date': u'2012-12-11T16:20:28Z', u'email': u'alerner@10gen.com', u'name': u'Alberto Lerner'}

Message: SERVER-6399 Fixed wrong comment.
Branch: master
https://github.com/mongodb/mongo/commit/db19074c291625813fa524c23649927f6524dcd3

Comment by auto [ 11/Dec/12 ]

Author:

{u'date': u'2012-12-11T16:03:06Z', u'email': u'alerner@10gen.com', u'name': u'Alberto Lerner'}

Message: SERVER-6399 Made is easy to copy string data's.
Branch: master
https://github.com/mongodb/mongo/commit/32d3666a820e9a461996a8c00c28509a764a163c

Comment by auto [ 11/Dec/12 ]

Author:

{u'date': u'2012-12-07T22:56:35Z', u'email': u'alerner@10gen.com', u'name': u'Alberto Lerner'}

Message: SERVER-6399 Allowed creation of empty string data's.
Branch: master
https://github.com/mongodb/mongo/commit/0215858e3d79efdf013c605ce1a7ca028252104e

Comment by auto [ 05/Dec/12 ]

Author:

{u'date': u'2012-12-05T19:14:51Z', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-6399 Fixed memory allocation in Field Ref.
Branch: master
https://github.com/mongodb/mongo/commit/210d24b7a5f16360ccee7a9c1956c27d0a771b3e

Comment by auto [ 05/Dec/12 ]

Author:

{u'date': u'2012-12-05T17:08:48Z', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-6399 Added support for parsing dotted fields.
Branch: master
https://github.com/mongodb/mongo/commit/0963cf638eccf52d1aa14d045fc4c80a4433429c

Comment by auto [ 20/Sep/12 ]

Author:

{u'date': u'2012-09-20T07:39:03-07:00', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: Visual Studio – add safe_num.cpp and .h for SERVER-6399
Branch: master
https://github.com/mongodb/mongo/commit/c9867164a4ca0ef6aa58f01d491da2bd937bf2e4

Comment by auto [ 19/Sep/12 ]

Author:

{u'date': u'2012-09-19T08:14:02-07:00', u'email': u'kristina@10gen.com', u'name': u'Kristina'}

Message: Added SafeNum type SERVER-6399
Branch: master
https://github.com/mongodb/mongo/commit/912c13195eec89e99f41385086320b326104a37a

Comment by Artem [ 06/Sep/12 ]

Please can you fix the issue https://jira.mongodb.org/browse/SERVER-2363 to add an document to any position of an array.

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