Commit Graph

127 Commits

Author SHA1 Message Date
Kristina
86b739cdcc fixed sync cache access 2011-05-14 11:43:25 -04:00
Kristina
8f2db1d98c removed extra lock and added more logging 2011-05-13 10:55:35 -04:00
Kristina
3a8448bac6 acquire rs lock before write lock when saving config 2011-05-12 22:38:10 -04:00
Eliot Horowitz
c83b140fbe store authed username in AuthenticationInfo SERVER-3074 2011-05-10 14:50:32 -04:00
Kristina
6734bc5c88 remove a couple more unnecessary locks 2011-05-09 15:45:45 -04:00
Kristina
0825375aa1 remove unnecessary lock SERVER-3032 2011-05-09 14:35:50 -04:00
Kristina
730d2d30a5 safely access rs id and config w/out locking 2011-05-09 11:16:45 -04:00
dwight
a5b1570b4f avoid potential race conditions with ReplSet::startupStatusMsg 2011-05-06 22:08:09 -04:00
Kristina
2e7a28c0d7 synchronize stepdowns with writes SERVER-2882 2011-05-05 12:42:32 -04:00
Kristina
5800c920f1 simplify locking 2011-05-05 11:37:47 -04:00
Kristina
9dbe9864db more locking during theReplSet fields' r/w SERVER-3032 2011-05-04 18:46:16 -04:00
Kristina
1008b8240e some rephrasing and comments 2011-05-02 18:26:08 -04:00
Kristina
be8e2f261d never set self to 0 SERVER-2710 2011-05-02 15:44:37 -04:00
gregs
6e59ddcc7a tabs->spaces 2011-04-28 18:18:02 -04:00
gregs
5273d66937 more checks for priority1.js - detect failed self ASAP 2011-04-28 18:10:42 -04:00
Kristina
4762b2074e rs priorities SERVER-1503 2011-04-12 13:57:26 -04:00
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