Commit Graph

243 Commits

Author SHA1 Message Date
gregs
885f82daf7 make ns functions usable elsewhere SERVER-4220 2011-11-09 10:44:32 -05:00
Yakov Markovitch
36521f7f54 Implement operator<< for std::ostream output for mongo::Query
There are such operators for both BSONObj and BSONElement, but for
Query it is absent. Besides all, this is badly needed for tracing.
2011-11-02 16:58:12 +04:00
Eliot Horowitz
d6f97c514b fix getLastErrorDetailed definitions to match 2011-10-10 03:26:10 -04:00
Brandon Diamond
9587418f27 Added more params to C++ driver's getLastError interface 2011-10-07 11:35:56 -04:00
Mathias Stearn
689469c2de Rename keep_going to continue_on_error SERVER-3233 2011-08-08 12:44:52 -04:00
Eliot Horowitz
5fafbffa27 don't use lazy on connection types where it can't work 2011-08-03 11:05:31 -04:00
gregs
cc43fc3e4a change command api to allow command options SERVER-3405 2011-07-27 15:59:27 -04:00
gregs
0a3a147ffb test and group slaveok fix for SERVER-3405 2011-07-27 15:59:26 -04:00
Eliot Horowitz
f84bf1a41a support for forced ssl everywhere in client and server 2011-07-27 09:48:35 -04:00
Eliot Horowitz
68e0ade105 fix connection pooling with socket timeouts 2011-07-12 13:48:20 -04:00
Eliot Horowitz
4934f03169 comment 2011-07-08 13:22:29 -04:00
Eliot Horowitz
c08f11d5a3 fixed comment 2011-07-07 10:42:40 -04:00
Eliot Horowitz
0594b8a6ab net cleaning: starting to split up message.h 2011-06-26 17:56:43 -04:00
Eliot Horowitz
142a86b237 net cleaning: move message.* to net/
net cleaning: move http tools to net/
2011-06-26 17:13:54 -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
436a4edd9f add client socket timeout option SERVER-3220 2011-06-13 19:43:38 -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
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
52b09fbdd9 make comments doxygen friendly 2011-05-14 14:05:59 -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
6cdeee14b9 nicer assert for unopened connection 2011-04-28 12:02:52 -04:00
dwight
ac1f4dfe9a function must return a value error/warning 2011-04-22 21:43:02 -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
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
dwight
77fca13149 just formatting 2011-03-14 09:43:22 -04:00
Eliot Horowitz
a969a0168c add ConnectionString and add a test 2011-02-14 14:13:19 -05:00
Eliot Horowitz
f4f7ceccf8 some public accessors 2011-02-12 14:48:20 -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
Eliot Horowitz
43d4d1306f ability to get partial results from a sharded find SERVER-2020 2011-01-25 02:02:38 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Dwight
be01a4f1d1 comment 2010-12-29 13:28:37 -05:00
Eliot Horowitz
fba685096f remove isMember since it was ill-formed and only used for an assert 2010-12-18 21:47:22 -05:00
Eliot Horowitz
4a80555f22 moving replica set client code into own files 2010-12-17 14:08:24 -05:00
Eliot Horowitz
864a25da74 make isFailed public 2010-12-16 14:47:45 -05:00
Eliot Horowitz
f477e690d3 comment 2010-12-14 02:43:34 -05:00
Eliot Horowitz
d7569703d9 replace countCommas with str::count 2010-12-14 02:40:37 -05:00
Kristina
1daf6ca709 update rs timeout on each reconfig SERVER-2045 2010-12-07 10:26:13 -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
f6a923ca3f show repl state in shell prompt. needs more work 2010-11-23 04:16:04 -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