Commit Graph

111 Commits

Author SHA1 Message Date
Kristina
cd89ae05d7 add syncingTo field to rs status 2011-04-06 12:41:48 -04:00
dwight
8ed14365df Merge branch 'master' of github.com:mongodb/mongo 2011-04-04 12:38:48 -04:00
dwight
1d46a7e4ba towards compact cmd still in prog 2011-04-04 12:38:38 -04:00
Kristina
ad78ff6280 initialize _hbmsgTime before it's used SERVER-2509 2011-04-01 11:47:14 -04:00
Eliot Horowitz
c8f553af3a better message when rs is in initial config 2011-03-23 17:17:27 -04:00
dwight
01aab7c317 i think this is invariant and thus can be shorter 2011-03-20 10:36:24 -04:00
Kristina
b2de82de5d clean up config change code SERVER-2706 2011-03-17 11:49:24 -04:00
Kristina
6bb9cfc64b fix fastsync to not be confused on new members SERVER-2717 2011-03-11 16:37:19 -05:00
Kristina
451ecc7c36 remove arbiter switching code, as this is no longer allowed 2011-03-03 17:50:59 -05:00
Kristina
4c9164cc67 reload config if any entries are different SERVER-2674 2011-03-03 16:38:19 -05:00
Kristina
baa76f1890 use defaults for rs contexts 2011-01-19 16:41:57 -05:00
Alberto Lerner
3907c971ee SERVER-2248 a demoted primary server now resets its sharding state 2011-01-10 05:38:52 -08:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Kristina
fbf7b90a1e rs auth 2010-12-27 16:07:33 -05:00
Kristina
abedfa9c91 add passive field to isMaster SERVER-2220 2010-12-20 18:14:28 -05:00
Kristina
1daf6ca709 update rs timeout on each reconfig SERVER-2045 2010-12-07 10:26:13 -05:00
Kristina Chodorow
8a0def48bb shutdown server when removed from replica set SERVER-1871 2010-11-17 18:44:32 -05:00
dwight
8c11db1487 rs clearer 2010-11-12 16:09:14 -05:00
dwight
00fa1a1278 keep arb- reconf off for the moment 2010-10-31 12:11:38 -04:00
Eliot Horowitz
d927c4f1bc added some asserts for replica set config status 2010-10-24 10:24:47 -04:00
Kristina Chodorow
57aecc7f77 don't allocate oplog for arbiter SERVER-1969 2010-10-21 16:10:45 -04:00
Kristina Chodorow
45b08e54aa allow arbiter to become secondary & vice versa SERVER-1930 2010-10-20 16:35:01 -04:00
Dwight
f222057f53 rs replSetFreeze needs testing still SERVER-1940 2010-10-15 16:13:41 -04:00
Dwight
6002434b92 rs stepdown command can take a time param now 2010-10-15 15:59:22 -04:00
Kristina Chodorow
de7e99dcf5 master->secondary on stepdown SERVER-1681 2010-10-14 17:14:23 -04:00
Dwight
eedcd0f469 SERVER-1679 need to be a way to quickly detect a loss of primary state in a replica set if one is not calling getlasterror 2010-10-04 11:23:10 -04:00
Dwight
4132498301 SERVER-1871 remove from repl set cleaner 2010-10-01 09:05:05 -04:00
Dwight
f01789027b add a buildIndexes:false option for replica set members 2010-09-28 14:01:54 -04:00
Dwight
629f3a4c1c towards SERVER-1681 2010-09-17 16:06:02 -04:00
Dwight
caf9a5fda2 towards SEERVER-1681 replica set primaries should step down to SECONDARY rather than RECOVERING 2010-09-17 15:03:11 -04:00
Mathias Stearn
9324ba3b77 Revert "HostAndPort::isSelf() -> ListeningSockets::listeningOn()"
This reverts commit 84abe861b1.

Conflicts:

	util/sock.h
2010-09-13 17:28:20 -04:00
Mathias Stearn
a50ff72621 Revert "Have ReplicaSets wait for Listener before initializing SERVER-1515"
This reverts commit 4697d93282.
2010-09-13 17:28:20 -04:00
Mathias Stearn
4697d93282 Have ReplicaSets wait for Listener before initializing SERVER-1515 2010-09-10 19:00:32 -04:00
Mathias Stearn
84abe861b1 HostAndPort::isSelf() -> ListeningSockets::listeningOn()
No longer assume listening on localhost
SERVER-1515
2010-09-10 19:00:32 -04:00
dwight
f9e013eb4d rs better fatal handling 2010-09-02 11:26:38 -04:00
dwight
5ab160eba7 lowercase 2010-08-31 03:03:09 -04:00
dwight
36fa015ac9 turn off disconnect for now rs 2010-08-31 04:29:48 -04:00
dwight
b3118b904f rs close sockets when relinquish primary so clients arent surprised 2010-08-31 00:20:31 -04:00
Alberto Lerner
b56b1850b5 SERVER-1607 isMaster returns the name of the replica set, if appropriate 2010-08-27 16:39:43 -04:00
Dwight
a595aaec89 rs temp rollback 2010-08-19 14:54:01 -04:00
Dwight
1b52a001b9 rs on relinquish, go to SECONDARY not RECOVERING. 2010-08-19 12:26:33 -04:00
Dwight
b0ce5f26f7 rs hbmsg is too dumb and sticks forever. making it only show for a short time in the display. needs to be smarter one day. 2010-08-19 12:25:10 -04:00
Dwight
5ff14eeb1e hidden rs attribute maybe 162 2010-08-18 11:37:34 -04:00
dwight
bc9997faef rs towards slaveDelay 162 2010-08-17 23:35:53 -04:00
dwight
23df1acdd1 rs rollback work 162 2010-08-16 09:17:14 -04:00
dwight
6604772cf0 rs log better 2010-08-13 18:21:32 -04:00
dwight
b12c0a79fe rs SERVER-1598 getlasterrordefaults 2010-08-09 16:15:41 -04:00
dwight
db2dfba94c towards SERVER-1577 reconf without losing primary status 2010-08-08 13:53:48 -04:00
dwight
84a8645057 rs move error checking logic to the right place 161 2010-08-08 10:21:39 -04:00
dwight
568b70305a merge 2010-08-07 20:31:34 -04:00