Commit Graph

87 Commits

Author SHA1 Message Date
Eliot Horowitz
d5e520ff7c fix replication with multiple $inc SERVER-1161 2010-05-27 11:39:48 -04:00
Aaron
713e03c506 SERVER-109 put Matcher in other Cursors, $or with distinct 2010-05-25 13:03:47 -07:00
Aaron
595e8104a0 SERVER-109 fix update prescan/details match issue 2010-05-24 22:32:54 -07:00
Aaron
b7add1f622 SERVER-109 iterator interface for delete and update 2010-05-24 22:00:25 -07:00
Eliot Horowitz
016af45e0b fix for yield on multi-updatre SERVER-1020 2010-05-17 10:44:17 -04:00
Aaron
9ed625ed2e merge 2010-05-12 10:41:09 -07:00
Aaron
521136dfc0 SERVER-109 $or checkpoint 2010-05-12 10:38:58 -07:00
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