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

13425 Commits

Author SHA1 Message Date
agirbal
5cc563b581 - Added option for read only objects in JS invoke method
- map function uses RO input object which speeds up MR quite a bit
- added a flag in RO objects so that the BSON can be used as is when converting back
2011-05-25 17:41:40 -07:00
agirbal
559f103ea0 fix compile 2011-05-25 13:00:48 -07:00
Mathias Stearn
52d7736f73 renameCollection should only require auth on source and dest DBs, not admin SERVER-1061
Still technically an admin command and requires running against admin db
2011-05-25 15:55:20 -04:00
agirbal
6bfc2d5d5f SERVER-3012: increased SM runtime limit to 64MB 2011-05-24 11:30:06 -07:00
Kristina
53677f3b05 fix compile 2011-05-24 11:46:53 -04:00
dwight
19c9c5af79 move static outside function to avoid implicit mutex lock 2011-05-24 10:21:04 -04:00
dwight
bb3c531d01 fix dup error nums / compile 2011-05-24 10:12:25 -04:00
dwight
afd23f33f9 make a noreturn version of insert, would be faster unless cmopiler is very smart.
cleaning in insert()
2011-05-24 10:05:31 -04:00
dwight
a3cd7ed576 small reeivedinsert tuning 2011-05-24 02:13:10 -04:00
dwight
2b28400dc2 unreferenced local var warning 2011-05-23 20:17:42 -04:00
dwight
816223af23 simpleclientlib.cpp apparently now needs spinlock.cpp 2011-05-23 20:14:12 -04:00
dwight
ca5e75b6ff unsafe use of type warning 2011-05-23 20:09:09 -04:00
dwight
c0384332f2 towards proper --quotafiles support 2011-05-23 20:03:24 -04:00
dwight
4bd221e824 fix typo in previous dbclientcursor commit 2011-05-23 20:03:22 -04:00
dwight
7af38ae643 sln windows build all projects 2011-05-23 20:03:21 -04:00
dwight
8a0660ac31 use firstElementFieldName() 2011-05-23 20:03:19 -04:00
dwight
bd5b607137 make applylogop slightly faster and general applyop cleaning 2011-05-23 20:03:18 -04:00
dwight
16f7b4fe65 some bson methods should be inline and were not 2011-05-23 20:03:16 -04:00
dwight
0eebdbfe9d make a Batch concept within dbclientcursor. this will be used to facilitate some future checkins with replication 2011-05-23 20:03:14 -04:00
dwight
9da83a5530 if $err is not the first element, complain. elsewhere we do not check all the way through, so it is important it is the first field 2011-05-23 20:03:13 -04:00
dwight
b99eaa3387 bson getfields method
getfirstelementfieldname method - faster than firstElement().fieldName()
bson cleaning tweaking and comments
2011-05-23 20:03:11 -04:00
dwight
3f9878191e tweak bsonobjiterator 2011-05-23 20:03:09 -04:00
dwight
b6f07e2b6d comments 2011-05-23 20:03:08 -04:00
dwight
923660edbb helper mongo::ErrorMsg class that builds error strings. lighter weight than a StringBuilder, albeit less flexible. 2011-05-23 20:03:06 -04:00
dwight
990e708ead cleaning 2011-05-23 20:03:05 -04:00
dwight
0c02f32878 comments, cleaning 2011-05-23 20:03:03 -04:00
Mathias Stearn
b690e237fd Add InsertOption_KeepGoing to keep going after error on bulk insert. SERVER-509 2011-05-23 18:46:27 -04:00
Mathias Stearn
0e28f89602 minor refactor to prep for SERVER-509 2011-05-23 10:30:15 -04:00
gregs
ff53662a8f exact points included in polygon 2011-05-22 21:23:54 -04:00
Eliot Horowitz
c665d0a406 show user asserts in verbose mode 2011-05-22 01:11:03 -04:00
Kristina
2f9948df10 fix reconfig test 2011-05-19 19:08:24 -04:00
Eliot Horowitz
096e570a64 fix moveChunk on new mongos SERVER-2828 2011-05-19 17:48:33 -04:00
Eliot Horowitz
ea1a8f4c29 throw StaleConfigException for passthrough command failure with stale config SERVER-2828 2011-05-19 17:43:24 -04:00
Eliot Horowitz
2c1fa43373 more debugging for buildbot 2011-05-19 17:29:56 -04:00
gregs
cd0dbafc47 Fix for potential unsafe access of address 2011-05-19 15:41:01 -04:00
gregs
1f4c905cff fix for duplicate host names 2011-05-19 15:40:34 -04:00
Eliot Horowitz
a9924101a7 put all connections that are assigned to ShardConnection into sharded state immediately on creation SERVER-2828 2011-05-19 14:49:38 -04:00
Eliot Horowitz
0b689c83e8 don't unset sharding state when a shard connection is done
more prep for SERVER-1714
2011-05-19 14:23:06 -04:00
Eliot Horowitz
8d009017c9 onDestry hook for connection pool 2011-05-19 14:23:06 -04:00
gregs
57bb3d62dc get copy of shard for reset, make safe for balancer thread - SERVER-3114 2011-05-19 12:17:06 -04:00
Eliot Horowitz
6e01775d25 make ShardConnection::sync as simple as needed 2011-05-19 11:22:01 -04:00
Eliot Horowitz
73209450a2 more comments 2011-05-19 11:22:01 -04:00
Kyle Banker
19c5c80d2b minor: error typo 2011-05-19 11:11:36 -04:00
Eliot Horowitz
0146bef876 make serverStatus more obvious with journal 2011-05-18 20:05:56 -04:00
Eliot Horowitz
93eaf061fa names have to be unique 2011-05-18 18:08:21 -04:00
Eliot Horowitz
4f9ae84652 prep for multiplexing connections between mongos and mongod more effectively 2011-05-18 17:36:55 -04:00
Eliot Horowitz
8d4cee1fce useful test 2011-05-18 17:36:55 -04:00
Eliot Horowitz
e60621258d more diagnostic fields 2011-05-18 17:36:55 -04:00
Eliot Horowitz
d010e85f47 better diagnostic message 2011-05-18 17:36:55 -04:00
Kristina
d2c94bc2c1 nicer error message for bad shard seed list 2011-05-18 16:42:57 -04:00