0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
Commit Graph

80 Commits

Author SHA1 Message Date
Eliot Horowitz
4ea65d3598 $ operator and indexed fields SERVER-1055 2010-05-10 14:38:10 -04:00
Eliot Horowitz
84711b6e12 yield on non-multi-update when lots of scanning needed SERVER-516 2010-05-08 22:18:43 -04:00
Eliot Horowitz
27f8361d4d multi-update yields SERVER-516
also some better parallel tools
2010-05-08 22:05:36 -04:00
Eliot Horowitz
740cc1308e auto_ptr -> shared_ptr for Cursor objects 2010-05-07 17:25:57 -04:00
Eliot Horowitz
4002e942bd more aggressive about checking for index moves in multi-update SERVER-1060 2010-04-28 16:56:14 -04:00
Dwight Merriman
3483f22813 refactor and rename insert 2010-04-28 08:25:56 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Aaron
5f13e864d7 SERVER-810 _id modifying updates replicate correctly 2010-04-27 00:33:35 -07:00
Eliot Horowitz
2ff883624b $ operator and $set can behave poorly with replication SERVER-1052 2010-04-26 15:24:16 -04:00
Eliot Horowitz
31c9358289 fix array numberic sort order SERVER-833 2010-03-26 15:30:29 -04:00
Eliot Horowitz
bca88a8001 use .$ instead of .~ for SERVER-631 2010-03-09 21:24:36 -05:00
Eliot Horowitz
91f3fcf6df inc embedded repl fix SERVER-716 2010-03-08 23:33:10 -05:00
Eliot Horowitz
c276f6001b fix test and ~ impl a bit 2010-03-07 21:42:58 -05:00
Eliot Horowitz
d3da0d7bbc array match value mod update( {a.x : 5 } , { a.~.y ... } ) SERVER-631 2010-03-06 22:12:58 -05:00
Aaron
4461c46f3f SERVER-652 unset/array sets value to null, which makes more sense 2010-03-02 23:09:34 -08:00
Aaron
246109cc18 SERVER-652 simplify field name upper limit check, guard against setting string fields in arrays 2010-03-02 13:16:20 -08:00
Aaron
bbbe0aaf31 SERVER-652 process array elements in correct order 2010-03-02 12:29:54 -08:00
Aaron
df8fb47a4c SERVER-652 comment 2010-03-02 10:20:10 -08:00
Aaron
bccf8f4113 SERVER-652 basic array index unset support 2010-03-01 15:04:01 -08:00
Eliot Horowitz
b32a47826e $addToSet : { $each : ... } SERVER-628 2010-02-27 22:05:59 -05:00
Eliot Horowitz
0f88bb48d2 check that objects modified with $ operators are <= 4mb SERVER-654 2010-02-23 13:22:27 -05:00
Eliot Horowitz
a023fc861b fix upsert with addToSet SERVER-630 2010-02-12 14:43:27 -05:00
Eliot Horowitz
c9ed60974d fix upsert for DBRef SERVER-627 2010-02-11 11:36:08 -05:00
Dwight
397e511e3a check for null 2010-02-04 15:46:11 -05:00
Dwight
92e756eabc background index building 2010-02-04 14:25:49 -05:00
Dwight
b9be275c37 make a couple vars loop invariant for multi updates, and thus be a bit faster for that case 2010-02-03 17:31:52 -05:00
Eliot Horowitz
556c5a6d7d $addToSet mostly working SERVER-176 2010-01-26 17:29:06 -05:00
Eliot Horowitz
10e1711a0e fix win warning MINOR 2010-01-26 12:19:40 -05:00
Eliot Horowitz
47b67b74b4 fix $inc with doubles 2010-01-26 11:54:45 -05:00
Eliot Horowitz
969f8dfeda fix some update issues 2010-01-25 23:26:42 -05:00
Eliot Horowitz
0e7d5c6d01 refactor update so Mod and ModSet are re-usable. design is clean - still more cleaning to be done and some speed checking
single updates are 5% slower, multi-updates are 2.5x faster
2010-01-25 17:23:37 -05:00
Eliot Horowitz
ead28f59e2 fix $unset combined with other modifier bug 2010-01-21 23:26:46 -05:00
Eliot Horowitz
0c814f1af9 correcting where const gets removed 2010-01-21 13:24:18 -05:00
Eliot Horowitz
3c527d8c43 ModSet cleaning 2010-01-21 12:29:18 -05:00
Eliot Horowitz
b617df5a1a $set doesn't convert from int to other types SERVER-555 2010-01-20 09:53:19 -05:00
Eliot Horowitz
53b5dae92e check for bad $set where set to an object with a . SERVER-261 2010-01-16 11:16:30 -05:00
Eliot Horowitz
d613425724 fix upset with x.y query and $mod SERVER-390 2010-01-16 10:25:32 -05:00
Eliot Horowitz
3f155f1bcb on $ mod make sure new object isn't too big SERVER-540 2010-01-13 14:57:44 -05:00
Eliot Horowitz
5f36804299 stop using stringstream for logging 2009-12-29 23:30:29 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
0a71e870ce fix multiple $inc/$push on same embedded object SERVER-333 2009-12-28 15:37:18 -05:00
Eliot Horowitz
e19c177dec fix $bit test 2009-12-24 13:11:10 -05:00
Eliot Horowitz
75c7d69277 comment 2009-12-23 15:59:47 -05:00
Dwight
69777ac3bc Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-21 17:43:20 -05:00
Dwight
0e1575bd36 $atomic option on remove()
see
http://www.mongodb.org/display/DOCS/Removing
2009-12-21 17:43:06 -05:00
Eliot Horowitz
62a4aef8fd start work on bit operators SERVER-503
only ugly syntax works and not idempotent yet
2009-12-21 17:32:01 -05:00
Eliot Horowitz
a9ba76825e cleaning 2009-12-21 16:34:09 -05:00
Eliot Horowitz
da08edb63d tests and minor fixes for SERVER-181 and SERVER-273 2009-12-18 17:28:36 -05:00
Eliot Horowitz
e9257ac751 fix un-sorted update 2009-12-18 01:51:43 -05:00