Commit Graph

269 Commits

Author SHA1 Message Date
dwight
c46d3ef193 rs rollback fix 2010-07-28 20:57:56 -04:00
dwight
b2822cffe9 rs log nicer 2010-07-28 20:24:21 -04:00
dwight
26828e12a9 rs attempt fix for weird crash 2010-07-28 11:06:04 -04:00
Eliot Horowitz
b5ad7702e3 working on modularizing web server so can hook up to mongos SERVER-1355 3 (repl) 2010-07-27 12:11:04 -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
c3f6084310 rs rollback work 2010-07-27 02:13:13 -04:00
dwight
8dd5aadf63 Merge branch 'master' of github.com:mongodb/mongo 2010-07-27 01:52:17 -04:00
Eliot Horowitz
6eeeeea25b tony found a bug
Revert "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."

This reverts commit 7740fb4070.
2010-07-26 23:17:29 -04:00
dwight
aeb05eaca4 rs rollback fix 2010-07-26 22:03:49 -04:00
dwight
ad31e3f393 rs defensive 2010-07-26 21:44:17 -04:00
Eliot Horowitz
7740fb4070 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.
Per Eliot's suggestion, instead of calling dbexit in startReplSets thread. Create theReplSet object in main thread, which checks and parses --replSet parameter, then just call its go() methon in startReplSets thread.

Conflicts:

	db/repl/rs.cpp
2010-07-26 21:36:47 -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
37b6550365 rs messaging clearer 2010-07-26 20:09:57 -04:00
dwight
4a216f149f rs bug on state change 2010-07-26 19:45:34 -04:00
Eliot Horowitz
127558c1c4 Database::flushFiles and use in rs for speed 2010-07-26 17:28:24 -04:00
dwight
f2087d8969 Merge branch 'master' of github.com:mongodb/mongo 2010-07-26 16:19:21 -04:00
dwight
1037a58e16 step down if cant see most of the set 2010-07-26 16:19:08 -04:00
Eliot Horowitz
cbb44f9adb rs gcc compile 2010-07-26 16:12:51 -04:00
dwight
f611c9e68d rs blind 2010-07-26 16:04:54 -04:00
dwight
150101e439 rs rollback 2010-07-26 15:29:18 -04:00
dwight
769629c1e4 log cleaning rs 2010-07-26 12:21:54 -04:00
dwight
54c2450de6 localhost allowed if all localhost repl sets 2010-07-26 09:55:10 -04:00
dwight
296526ce53 checkpoint 2010-07-23 22:44:11 -04:00
Eliot Horowitz
6e2f7ff4be fix rs compile 2010-07-23 16:19:39 -04:00
dwight
30d823b628 rs towards rollback 2010-07-23 15:48:30 -04:00
dwight
58bbf8a4d3 cleaning 2010-07-23 14:52:14 -04:00
dwight
956d782243 rs fix an issue in checknewstate 2010-07-23 13:35:27 -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
5b3e32d440 compile rs 2010-07-22 20:21:23 -04:00
dwight
e7cb7d2e1d cleaning 2010-07-22 20:15:30 -04:00
dwight
6212e5c2df rs de-spaghetti 2010-07-22 17:50:54 -04:00
Dwight
5c68591f64 rs 2010-07-22 15:28:02 -04:00
Dwight
a27f58a890 rs elect better 2010-07-22 15:10:23 -04:00
Eliot Horowitz
a55850d845 Merge branch 'master' of github.com:mongodb/mongo 2010-07-22 14:20:48 -04:00
Eliot Horowitz
852eb9b1fa set Stale shard data on late errors 2010-07-22 14:20:29 -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
dwight
4caf7c6d84 rs towards rollback 2010-07-21 22:20:34 -04:00
Dwight
3b2ede3771 rs rollback work 2010-07-21 15:39:59 -04:00
Dwight
ac0125de71 compile 2010-07-21 14:15:48 -04:00
Dwight
fe36179eba rs 2010-07-21 13:50:53 -04:00
Dwight
4c28261430 cleaning 2010-07-21 13:13:36 -04:00
Dwight
39cfa40ed6 rs 2010-07-21 12:50:03 -04:00
dwight
77a84758b0 typo 2010-07-21 01:47:13 -04:00
dwight
ec9b608c7d new file 2010-07-21 01:45:04 -04:00
dwight
cc6641eefd small fix diag screen 2010-07-20 21:11:43 -04:00
dwight
25ac9e3ac3 localhost check 2010-07-20 16:46:32 -04:00
dwight
4e2a494ccb sync error case 2010-07-20 16:03:03 -04:00