Commit Graph

210 Commits

Author SHA1 Message Date
Aaron
94412807e6 SERVER-3249 add so_timeout support in DBClientReplicaSet 2011-08-07 15:09:50 -07:00
Eliot Horowitz
fdfbffbc2b forgot an ssl #ifdef 2011-07-27 09:50:17 -04:00
Eliot Horowitz
f84bf1a41a support for forced ssl everywhere in client and server 2011-07-27 09:48:35 -04:00
Eliot Horowitz
51d97bcbfc require server name on SocketException 2011-06-25 00:11:50 -04:00
gregs
884e100ec0 better logic for no-result in rs for parallel ops SERVER-2481 2011-06-16 17:34:40 -04:00
gregs
4d8ee4cc7c parallel cursor recover gracefully from replica set and other errors SERVER-2481 2011-06-16 17:34:39 -04:00
gregs
95cac3dad8 no stack trace 2011-06-13 20:00:05 -04:00
gregs
436a4edd9f add client socket timeout option SERVER-3220 2011-06-13 19:43:38 -04:00
dwight
bfe34b1985 doesnt make much sense to specify capped without a size so check for that 2011-06-11 12:55:46 -04:00
gregs
b2236461fa check for not master or secondary error on slave queries, re-route SERVER-2253 2011-06-01 15:51:10 -04:00
dwight
90e61c3f85 findN method in cpp client 2011-05-28 16:20:18 -04:00
Kristina
53677f3b05 fix compile 2011-05-24 11:46:53 -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
Mathias Stearn
b690e237fd Add InsertOption_KeepGoing to keep going after error on bulk insert. SERVER-509 2011-05-23 18:46:27 -04:00
Dwight
063c8c926b test drive StackBufBuilder. can use more later 2011-05-10 15:52:20 -04:00
Dwight
a3cd52048a Merge branch 'master' into main
Conflicts:
	SConstruct
	db/btree.h
	db/db.vcxproj.filters
	db/dbcommands_admin.cpp
	db/geo/2d.cpp
	db/pdfile.cpp
	dbtests/test.vcxproj.filters
2011-05-03 15:53:27 -04:00
Eliot Horowitz
f939069509 DBClientBase::callLazy - does the send part, and doesn't wait for response
you have to call recv later
2011-04-21 14:57:44 -04:00
dwight
3126e58f01 comments etc 2011-04-14 21:22:33 -04:00
Mathias Stearn
ec093cc5ac C++ driver now supports 1.8 M/R options SERVER-2893 2011-04-04 19:19:48 -04:00
Eliot Horowitz
daceb099cf safer not master check 2011-03-30 13:49:19 -04:00
Eliot Horowitz
4e05ef32a1 changed failed to _failed 2011-03-30 12:16:06 -04:00
dwight
c663d7922b add background option to create index in the cpp client 2011-03-27 13:21:08 -04:00
Eliot Horowitz
a969a0168c add ConnectionString and add a test 2011-02-14 14:13:19 -05:00
Eliot Horowitz
37b11e4dde fix replica set cursor cleaning through mongos SERVER-2505
fix cursor cleaning in mongos generally by not doing lazy cleaning
2011-02-09 23:03:03 -05:00
Eliot Horowitz
471fd7da06 added option paral to call to specify server address where was sent if different 2011-02-05 17:52:36 -05:00
Eliot Horowitz
fd204c99b3 DBDirectClient uses smart count rather than going over message api 2011-01-25 16:19:21 -05:00
agirbal
f5e2323933 [SERVER-2286]: slaveOk is ignored for group() and mapReduce(), these are allowed to run on slave always 2011-01-04 23:17:22 -08:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
789467bd62 a litle rs client cleaning 2010-12-29 00:51:25 -05:00
Eliot Horowitz
dc079d3ba7 better error message on socket error 2010-12-20 16:25:29 -05:00
Eliot Horowitz
4a80555f22 moving replica set client code into own files 2010-12-17 14:08:24 -05:00
Eliot Horowitz
d7569703d9 replace countCommas with str::count 2010-12-14 02:40:37 -05:00
Eliot Horowitz
28b1cff00d track pooled connections by type 2010-12-02 00:29:34 -05:00
Eliot Horowitz
a639200e21 keep track of number of DBClientConnection objects 2010-11-28 11:33:00 -05:00
dwight
203a76fa05 conventions cleaning 2010-11-10 11:49:28 -05:00
dwight
279d33bee6 dbclient: once a connection in failed state be sure not to use it. this is a fairly big change in a way because it now throws mroe often. affects replica sets. 2010-10-31 19:12:12 -04:00
Dwight
602acdfd0c Merge branch 'master' of github.com:mongodb/mongo 2010-10-29 13:40:50 -04:00
Dwight
0b140039bc cleaning; towrads our code standards; consting; better var name 2010-10-29 13:40:42 -04:00
Eliot Horowitz
1110b42704 better error messages on network errors 2010-10-29 00:49:08 -04:00
Eliot Horowitz
db4569cc56 count takes skip/limit 2010-10-28 13:47:30 -04:00
dwight
de2e29a934 cleaning and slightly nicer output rs 2010-10-18 20:43:21 -04:00
Alberto Lerner
da10c9799c SERVER-1691 don't cache calls to ensureIndex if sharding a collection 2010-09-30 08:38:40 -04:00
Mathias Stearn
4e1692b74f Fix unix socket parsing and add test SERVER-1867 2010-09-28 21:56:22 -07:00
Alberto Lerner
087a79e4be fix typo 2010-08-21 16:02:51 -04:00
Alberto Lerner
7a7cc4adfa SERVER-1452 StringData-ing up, c_str()-ing down 2010-08-18 18:12:31 -04:00
Eliot Horowitz
3f63ac712b change massert to uassert 2010-08-16 23:31:22 -04:00
Eliot Horowitz
f1a8c6ef54 fix getMore with sharding+rs in edge case SERVER-1584 2010-08-06 13:24:59 -04:00
Eliot Horowitz
c970eb624f allow set of 1 since can derive SERVER-1556 2010-08-03 11:47:47 -04:00
dwight
6a5c95a8d3 unref local var warning 2010-07-30 15:01:03 -04:00
Eliot Horowitz
9b12951db2 c++ repl set connection will add hosts in hosts array to list SERVER-1320 2010-07-30 14:51:28 -04:00