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

2205 Commits

Author SHA1 Message Date
Mathias Stearn
44498641ea BSON_ARRAY macro 2009-11-05 13:34:14 -05:00
Mathias Stearn
e863bb68d6 BSONArray class 2009-11-05 13:34:14 -05:00
Mathias Stearn
1ce5f2707b BSONArrayBuilder class 2009-11-05 13:34:14 -05:00
Mathias Stearn
edd9f57e7f BSONObjBuilder::numStr optimization 2009-11-05 13:34:14 -05:00
Eliot Horowitz
4aeeedc9f6 minor m/r speedup 2009-11-04 21:48:49 -05:00
Eliot Horowitz
0dbf65df13 limit option for m/r 2009-11-04 17:34:59 -05:00
Eliot Horowitz
40f7fbff6d new mapreduce arch which is much faster for most data sets SERVER-326 2009-11-04 17:11:17 -05:00
Eliot Horowitz
3818050a7d use any type for bool value 2009-11-04 17:09:03 -05:00
Eliot Horowitz
d5048b8e6c m/r refactor check point 1 2009-11-04 15:25:45 -05:00
Eliot Horowitz
2dbc13e674 silly optimization 2009-11-04 14:52:11 -05:00
Eliot Horowitz
92d2689f1f wrap( char * newName ) 2009-11-04 14:52:01 -05:00
Mathias Stearn
9a81525018 Add assert to prevent calling appendAs with EOO 2009-11-03 16:39:55 -05:00
Mathias Stearn
80edd9e5cf Pull launchGDB out to debug_util.cpp 2009-11-03 16:39:55 -05:00
Eliot Horowitz
03d189f518 Merge branch 'master' of git@github.com:mongodb/mongo 2009-11-03 14:45:14 -05:00
Eliot Horowitz
18e7e48ebd stats for sharded map/reduce SHARDING-37 2009-11-03 14:44:41 -05:00
Mathias Stearn
6e4852e148 Make launchGDB() work with multiple threads. 2009-11-03 13:23:13 -05:00
Eliot Horowitz
093fe68254 some defensive code for boost versions 2009-11-03 13:19:57 -05:00
Eliot Horowitz
6fd0beb957 wassert on extsort 2009-11-03 13:02:39 -05:00
Eliot Horowitz
8b23ad4f68 some log(1) debugging 2009-11-03 13:01:07 -05:00
Eliot Horowitz
d8fbead145 delete temp shard collections on shards SHARDING-37 2009-11-03 12:17:56 -05:00
Eliot Horowitz
6d5e43755d sharded map-reduce basic test works SHARDING-37 2009-11-03 11:40:00 -05:00
Eliot Horowitz
3a1c9831c1 some sharded query re-factoring 2009-11-03 10:35:48 -05:00
Dwight
d7a8eb644d compile windows 2009-11-03 09:15:45 -05:00
Dwight
7711895110 Merge branch 'master' of git@github.com:mongodb/mongo 2009-11-03 09:09:48 -05:00
Dwight
7b8640f468 comment 2009-11-03 09:09:37 -05:00
Mathias Stearn
b92f5f3aa5 Launch GDB on SIGTRAP if compiled for debug (--dd) 2009-11-02 18:56:29 -05:00
Mathias Stearn
0c48803a96 fix for boost 1.33. no BOOST_FOREACH :( 2009-11-02 13:46:25 -05:00
Mathias Stearn
1acf77ce0c Add nested-dotted converters for BSONObj 2009-11-02 13:32:20 -05:00
Mathias Stearn
d7c527d437 pull EmbeddedBuilder to its own file 2009-11-02 13:32:20 -05:00
Eliot Horowitz
d79c6006e4 fix multi-update and modding indexed field SERVER-268 SERVER-108 2009-11-02 12:25:51 -05:00
Eliot Horowitz
39645a2739 removing dead code 2009-11-02 11:00:49 -05:00
Eliot Horowitz
d22098f810 get rid of deep in Matcher 2009-11-02 10:51:42 -05:00
Eliot Horowitz
a782eb24c3 get rid of deep on Cursor::getsetdup 2009-11-02 10:47:29 -05:00
Eliot Horowitz
8ca8a7b1a7 multi-update with multi-key SERVER-365 2009-11-02 10:40:19 -05:00
Eliot Horowitz
30185da24a fix multi-update where objects move 2009-10-30 15:51:23 -04:00
Eliot Horowitz
e0c377e0ee update returns DiskLoc where object ends up 2009-10-30 15:50:21 -04:00
Eliot Horowitz
d7544326ab cleaning 2009-10-29 16:06:35 -04:00
Eliot Horowitz
aa6fc17f57 find _id index more robustly 2009-10-29 11:59:38 -04:00
Eliot Horowitz
60ae7d2360 when doing a clone() load all indexes before starting to create so no socket timeout issues SERVER-397 2009-10-29 11:23:26 -04:00
Dwight
25a9ee68ec elim a warning on widnows during compile 2009-10-28 16:59:40 -04:00
Dwight
1a3b7c3661 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-28 15:29:55 -04:00
Dwight
a03aecb988 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-28 13:41:06 -04:00
Eliot Horowitz
9390f94cb4 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-28 12:55:59 -04:00
Mathias Stearn
fc48a0fe45 FieldMatcher now supports positive and negative matching. SERVER-299 and SERVER-125 2009-10-28 12:44:26 -04:00
Mathias Stearn
daaec9af98 Won't be able to rely on FieldMater::size with negative matchers. 2009-10-28 12:44:25 -04:00
Eliot Horowitz
0925cf6475 helper for init scripts 2009-10-27 16:37:14 -04:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Dwight
353af9e068 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-27 14:25:57 -04:00
Dwight
31a1b75aa3 slightly better error message when problem opening files 2009-10-27 14:25:45 -04:00
Eliot Horowitz
be1b3de4ca disintct and eoo fix 2009-10-27 12:56:59 -04:00
Eliot Horowitz
63e0ee59e4 fix invalid ensureIndex crashing server SERVER-388 2009-10-26 21:10:45 -04:00
Eliot Horowitz
8fea4b6e73 fix for old boost version MINOR 2009-10-26 17:26:38 -04:00
Eliot Horowitz
94f9c109bc fix for non-matching multi-update multi-key, some more tests SERVER-268 2009-10-26 17:20:33 -04:00
Mathias Stearn
52f075cb13 cleanup. fillQueryResultFromObj always returned true. MINOR 2009-10-26 11:20:45 -04:00
Mathias Stearn
714aa47cbc mark begining of FilterMatcher class. MINOR 2009-10-26 10:24:30 -04:00
Eliot Horowitz
ea9ae0425f security cleanup / segault fix in currentOp SERVER-384 2009-10-25 00:47:43 -04:00
Eliot Horowitz
8495bf5a33 dos2unix MINOR 2009-10-25 00:47:31 -04:00
Eliot Horowitz
69267a9032 Merge branch 'master' of github.com:mongodb/mongo 2009-10-24 20:56:22 -04:00
dwight
fe0226cd79 MINOR global var cleanup 2009-10-24 14:34:54 -04:00
Eliot Horowitz
70e2ccab50 warning fix MINOR 2009-10-23 20:59:38 -04:00
Dwight
73ed0277ff prettier 2009-10-23 11:13:08 -04:00
Eliot Horowitz
a50162fdbe map/reduce works on a slave SERVER-383 2009-10-22 23:48:12 -04:00
Eliot Horowitz
8fd95e2a19 ability to make a Client god for a little while 2009-10-22 23:47:39 -04:00
Eliot Horowitz
860a94f852 fix count w / $all issue SERVER-382 SERVER-320 2009-10-22 21:40:45 -04:00
Eliot Horowitz
c66c479782 a little cleaning 2009-10-22 21:38:02 -04:00
Eliot Horowitz
bf4e08f0f3 assert when trying to remove from a capped collection 2009-10-22 13:40:44 -04:00
Eliot Horowitz
e8466f3dc5 flag to update multiple objects with $ operators SERVER-268 2009-10-21 22:54:11 -04:00
Eliot Horowitz
c737ba61df a little update cleaning MINOR 2009-10-21 20:47:45 -04:00
Dwight
eeb0eae0bc fix unittest; to unbreak the build 2009-10-21 18:29:27 -04:00
Dwight
1d4aa0a204 compile 2009-10-21 16:12:48 -04:00
Dwight
bfa27ae2b3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-21 16:00:55 -04:00
Dwight
844d96c19f allow more indexes
do not revert to an earlier db version or you will have problems
2009-10-21 16:00:40 -04:00
Eliot Horowitz
4774b56bf2 refactoring updateObjects return to be cleaner and so can work with multi-object update SERVER-268 2009-10-21 15:18:21 -04:00
Eliot Horowitz
fb6971e9b4 a little cleaning MINOR 2009-10-21 10:14:45 -04:00
Eliot Horowitz
d54681458c $inc/$set work even if indexes - not 100% efficient now - SERVER-108 2009-10-21 01:01:52 -04:00
Eliot Horowitz
d188a16d18 a little code cleaning before work on SERVER-108 2009-10-21 00:21:09 -04:00
Eliot Horowitz
1e1df0e434 fix assert 2009-10-20 17:31:52 -04:00
Eliot Horowitz
672f2821af --quotaFiles SERVER-374 2009-10-20 13:29:05 -04:00
Eliot Horowitz
b2b90b5568 fix assertion message 2009-10-20 11:13:33 -04:00
Dwight
a606c7a6b8 cleanup/prep for # of indexes work 2009-10-19 16:53:58 -04:00
Dwight
91328adb2d Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-19 15:30:29 -04:00
Dwight
314385b97e some tests were failing when _DEBUG was defined...MINOR 2009-10-19 15:30:16 -04:00
Mathias Stearn
8190d8db53 Support {:'foo', :'bar'} syntax in queries. SERVER-275 2009-10-19 14:30:46 -04:00
Mathias Stearn
4f83c02fcc cleanup detection. MINOR 2009-10-19 14:29:50 -04:00
Dwight
8edc124418 comment 2009-10-19 13:29:12 -04:00
Dwight
691ac521d2 add update.cpp to vcproj 2009-10-19 13:25:53 -04:00
Eliot Horowitz
fcbca1e707 field selector no longer effects which objects are returned
SERVER-362
2009-10-19 12:14:20 -04:00
Eliot Horowitz
a78cb6681c map/reduce finalize option SERVER-372
nice mapReduce helper for shell
2009-10-19 11:00:53 -04:00
Eliot Horowitz
529167b0f5 split all the update code out of query.cpp into update.cpp 2009-10-19 10:13:23 -04:00
Eliot Horowitz
4c2eb48f9f BSONObj operator== 2009-10-18 21:12:57 -04:00
Eliot Horowitz
510e48d693 a little update mod cleaning 2009-10-18 20:48:08 -04:00
Eliot Horowitz
a8bc6f9584 store query in ClientCursor so can see query on slow getMore queries 2009-10-17 23:07:26 -04:00
Eliot Horowitz
55ada812dd fix EmbeddedBuilder where field names are same length but different SERVER-367 2009-10-17 01:10:48 -04:00
Eliot Horowitz
117a9b68f9 some prep work for comparing dotted field names. can't use strcmp like we used to since don't quite match 2009-10-16 23:41:21 -04:00
Eliot Horowitz
349961ae9c move oplogSize to CmdLine 2009-10-16 23:32:34 -04:00
Dwight
5d858e346e Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-16 15:36:57 -04:00
Dwight
01f1f6915d move CurOp into Client and make inprog handle multiple in progress 2009-10-16 15:36:34 -04:00
Eliot Horowitz
d8235205f5 log rotation with USR1 signal SERVER-358 2009-10-16 12:46:06 -04:00
Eliot Horowitz
e48db1f60a replace cerr with cout for all server files 2009-10-16 11:39:59 -04:00
Eliot Horowitz
411b4d279e only put a timeout on db.eval if --quota is on 2009-10-16 11:37:31 -04:00