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

367 Commits

Author SHA1 Message Date
Dwight
63c26a96bd SERVER-521 cursor may be deleted while in getMore 2010-01-06 13:39:57 -05:00
Dwight
4d8a09b25a cleanup comments prepwork for some repl improvements 2010-01-04 11:15:09 -05:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Dwight
0aef7092be small opt 2009-12-31 16:22:28 -05:00
Dwight
417924bf1e call cc() slightly less 2009-12-31 15:51:58 -05:00
Eliot Horowitz
5f36804299 stop using stringstream for logging 2009-12-29 23:30:29 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Dwight
0e1575bd36 $atomic option on remove()
see
http://www.mongodb.org/display/DOCS/Removing
2009-12-21 17:43:06 -05:00
Dwight
75883ad1f2 rename class 2009-12-21 14:45:13 -05:00
Dwight
65ae020708 QueryMessage was being instantiated twice on every query - fixed. 2009-12-21 14:22:23 -05:00
Dwight
0f17215227 Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-21 13:19:32 -05:00
Dwight
3c30bcb826 refactor CurOp 2009-12-21 13:19:20 -05:00
Aaron
e6b27edec7 MINOR comments 2009-12-21 09:26:16 -08:00
Eliot Horowitz
96472f28a3 make ClientCursor::yield - move temp test there 2009-12-18 14:10:24 -05:00
Dwight
65ee1eafde Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-18 10:23:22 -05:00
Dwight
558bb8ccb8 fix bug in remove concurrency 2009-12-18 10:23:10 -05:00
Eliot Horowitz
4ea2e8ff49 add dbtempreleasecond that only releases if you have a single level lock 2009-12-17 20:45:54 -05:00
Dwight
0d1a097017 minor 2009-12-17 17:29:29 -05:00
Eliot Horowitz
23f6ef2c9a unlock ever 100 objects scanned, not deleted SERVER-494 2009-12-17 17:27:57 -05:00
Eliot Horowitz
c908b7094c Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-17 17:22:01 -05:00
Eliot Horowitz
6909e1412b if someone else advances my cursor be safe SERVER-494 2009-12-17 17:21:46 -05:00
Dwight
04f8a62f85 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	db/query.cpp
2009-12-17 17:21:11 -05:00
Dwight
9cc8e2608a rename func 2009-12-17 17:17:46 -05:00
Eliot Horowitz
e7eb18f2f2 move ClientCursor to stack SERVER-494 2009-12-17 17:15:13 -05:00
Eliot Horowitz
a7635d3b09 when doing large delete, unlock so other things can go: SERVER-494 2009-12-17 16:54:40 -05:00
Eliot Horowitz
7024b54491 make jstOID a simple type and fix field filter and findOne 2009-11-25 14:51:40 -05:00
Eliot Horowitz
3b724c73ad use Helpers::findById for simpel _id lookups 2009-11-25 12:41:13 -05:00
Eliot Horowitz
1cdd8e8764 silly extraneous toString 2009-11-24 13:08:26 -05:00
Eliot Horowitz
4e9630f5d5 fail fast on capped delete SERVER-395 2009-11-23 23:34:17 -05:00
Eliot Horowitz
1e388b0e68 cleaning code for deleteObjects 2009-11-22 22:52:58 -05:00
Mike Dirolf
0d656aa047 skipping all results shouldn't be an error for count operations 2009-11-14 09:31:54 -08:00
Eliot Horowitz
2b3ecd70b5 fix count with no filter and limit 2009-11-12 16:01:35 -05:00
Eliot Horowitz
d0958dc115 made count command take optional size/limit params
and added size() method to js query object
SERVER-417
2009-11-12 14:27:18 -05:00
Eliot Horowitz
768e231da7 some db command cleaning 2009-11-11 13:30:11 -05:00
Dwight
7b8640f468 comment 2009-11-03 09:09:37 -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
Mathias Stearn
52f075cb13 cleanup. fillQueryResultFromObj always returned true. MINOR 2009-10-26 11:20:45 -04:00
Eliot Horowitz
860a94f852 fix count w / $all issue SERVER-382 SERVER-320 2009-10-22 21:40:45 -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
fcbca1e707 field selector no longer effects which objects are returned
SERVER-362
2009-10-19 12:14:20 -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
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
Dwight
01f1f6915d move CurOp into Client and make inprog handle multiple in progress 2009-10-16 15:36:34 -04:00
Dwight
ddcf5eeb32 refactor a little 2009-10-14 16:29:32 -04:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -04:00