Commit Graph

84 Commits

Author SHA1 Message Date
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
dwight
ea19123612 better logging rs 2010-08-07 20:29:48 -04:00
Alberto Lerner
527b059518 warnings 2010-08-07 18:24:05 -04:00
dwight
8460ae83c7 towards SERVER-1577 reconf without losing primary status transiently 2010-08-07 16:59:09 -04:00
Kyle Banker
c116e1b395 minor: style 2010-08-05 09:39:32 -04:00
Dwight
e1bc087231 make error msgs better 2010-08-04 10:50:53 -04:00
Dwight
c6841017ac remove warning msg 2010-08-03 10:40:35 -04:00
Dwight
1ec6fb1d4b SERVER-1523 and some diagui fixes 2010-08-02 15:21:26 -04:00
dwight
9cd46ae5fa make sethbmsg less chatty 2010-08-01 10:58:12 -04:00
dwight
91f671ea53 slightly confusing rs error message 2010-07-30 15:41:54 -04:00
dwight
b07eeee2f1 RS rollback fix 2010-07-30 15:00:19 -04:00
dwight
b20567ad8a Merge branch 'master' of github.com:mongodb/mongo 2010-07-28 22:02:37 -04:00
dwight
09bc1738e8 rollback rs 2010-07-28 22:02:15 -04:00
dwight
b2822cffe9 rs log nicer 2010-07-28 20:24:21 -04:00
Eliot Horowitz
01fd336313 newline and dos2unix 2010-07-28 17:28:47 -04:00
Tony Hannan
1fc517d53a SERVER-1415: Giving incorrect parameter syntax to --replSet shows error in log but continues to run. Maybe it should abort like it does if the parameter is missing all together.
Parse --replSet parameter into ReplSetCmdline struct in main thread, then fork startReplSets(ReplSetCmdline).

We could not create theReplSet in main thread because constructor waits until config is loaded and thus would halt the rest of startup, and we couldn't move config loading out of constructor because other code tests for theReplSet != 0 to see if config is loaded.
2010-07-27 23:31:16 +08:00
dwight
ad31e3f393 rs defensive 2010-07-26 21:44:17 -04:00
dwight
eef2a87ab3 rs do we need seeds? eliminate at least some of the need for cmd line seed list 2010-07-26 21:06:37 -04:00
dwight
4a216f149f rs bug on state change 2010-07-26 19:45:34 -04:00
dwight
150101e439 rs rollback 2010-07-26 15:29:18 -04:00
dwight
54c2450de6 localhost allowed if all localhost repl sets 2010-07-26 09:55:10 -04:00
dwight
58bbf8a4d3 cleaning 2010-07-23 14:52:14 -04:00
dwight
c98f88675e rs make err msg clear 2010-07-23 12:07:40 -04:00
dwight
f5c49c6c31 proper synchronization on reconfig 2010-07-23 11:48:07 -04:00
Alberto Lerner
02c4acb229 Fix warnings 2010-07-22 20:55:26 -04:00
dwight
6212e5c2df rs de-spaghetti 2010-07-22 17:50:54 -04:00
Dwight
2219a735a2 rs replSetStepDown cmd 2010-07-22 14:20:13 -04:00
dwight
fdbb51fae2 cleaner logging 2010-07-22 08:00:18 -04:00