Commit Graph

32 Commits

Author SHA1 Message Date
Eliot Horowitz
763c49f692 fix startup race condition 2011-02-13 23:29:11 -05:00
Eliot Horowitz
7e5a60ba66 protect ReplicaSet watcher with a lock 2011-02-13 19:13:21 -05:00
Eliot Horowitz
7a4399841f more background job debugging 2011-02-13 16:04:06 -05:00
Eliot Horowitz
f31d82cad9 some better debugging and an assert 2011-02-13 10:07:13 -05:00
Eliot Horowitz
b1a9d70ed7 safety check for SERVER-2539 2011-02-12 14:54:14 -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
1ef1e7f2b8 less chatty ReplicaSetMonitor for c++ client SERVER-2490 2011-02-07 16:42:35 -05:00
Eliot Horowitz
c3125e1877 DBClientReplicaSet::killCursor should never be called SERVER-2479 2011-02-05 17:56:14 -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
Kristina
8867e60e88 more aggressive about checking for slave errors SERVER-2439 2011-01-31 11:34:47 -05:00
Eliot Horowitz
9c1381ece0 ReplicaSetMonitorWatcher needs to run all the time SERVER-2399 2011-01-24 10:03:23 -05:00
Kristina
f0eb24f224 rs throws out master on connection exception SERVER-2377 2011-01-21 13:57:35 -05:00
Kristina
a756cf2375 make c++ client check that rs master is ok before returning it SERVER-2377 2011-01-20 19:35:12 -05:00
Kristina
a380c189fc make checkMaster more aggressive about finding new master SERVER-2261 2011-01-14 15:45:25 -05:00
Kristina
209a0e24d1 short rs conn timeout and better master check SERVER-2261 2011-01-13 16:52:38 -05: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
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
2d7f0ad378 put line in right bracket 2010-12-20 03:53:15 -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
dwight
bba46ee7eb merge 2010-12-19 11:47:39 -05:00
Eliot Horowitz
5276c00022 fix ReplicaSetMonitor shared_ptr 2010-12-19 01:25:32 -05:00
Eliot Horowitz
c4ea46b1e7 route queries to secondaris if SLAVE_OK is set SEVER-1634 2010-12-19 00:11:23 -05:00
Eliot Horowitz
e6dc75b125 linux compile 2010-12-19 00:00:48 -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