Commit Graph

28 Commits

Author SHA1 Message Date
gregs
b52af9b709 fix for sharding slaveok 2011-08-09 02:29:41 -04:00
Eliot Horowitz
5598fe195b fix mongos slave ok 2011-08-08 23:37:44 -04:00
Eliot Horowitz
760f0b28d4 update hidden status and check secondary more accurately SERVER-3432 2011-08-08 19:00:59 -04:00
Aaron
94412807e6 SERVER-3249 add so_timeout support in DBClientReplicaSet 2011-08-07 15:09:50 -07:00
Eliot Horowitz
5fafbffa27 don't use lazy on connection types where it can't work 2011-08-03 11:05:31 -04:00
Eliot Horowitz
20a0374718 expose ReplicaSetMonitor stats
SERVER-3487
2011-07-26 18:07:29 -04:00
Eliot Horowitz
68e0ade105 fix connection pooling with socket timeouts 2011-07-12 13:48:20 -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
b2236461fa check for not master or secondary error on slave queries, re-route SERVER-2253 2011-06-01 15:51:10 -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
Eliot Horowitz
225227e8e2 fix deadlock 2011-05-12 16:57:28 -04:00
gregs
2b922d9097 deterministic slaveok failover 2011-04-27 17:54:49 -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
Eliot Horowitz
1707fa2a7e fix callback for not master errors on replica set connections and make background thread more reliable SERVER-2868 2011-03-30 13:52:51 -04:00
Eliot Horowitz
f4f7ceccf8 some public accessors 2011-02-12 14:48:20 -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
1227dfe359 fix concurrency issues with DBClientReplicaSet SERVER-2466 2011-02-02 10:47:02 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Kristina
a4519f6559 make mongos not route reads to recovering slaves 2010-12-28 19:22:58 -05:00
Eliot Horowitz
bdc22dc854 some replica set client cleaning 2010-12-20 14:17:44 -05:00
Eliot Horowitz
2f7ab64d70 routing or slave_ok reads to slaves for non-sharded collections SERVER-1634 2010-12-20 02:21:41 -05:00
Eliot Horowitz
04f1acae78 client hook to be notified of replica set changes 2010-12-20 01:28:10 -05:00
Eliot Horowitz
46cce4595c DBClientReplicaSet::slaveConn hooked up again - final prep for SEVER-1634 2010-12-18 23:54:29 -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
208b86c09e DBClientReplica set refactoring just about done 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