Commit Graph

293 Commits

Author SHA1 Message Date
dwight
781ff20ee6 rs rollback logging detail 2010-07-31 12:34:35 -04:00
dwight
6a2409d5d2 rs cleaning 2010-07-31 10:46:52 -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
7572badd92 SERVER-1516 2010-07-30 12:30:34 -04:00
dwight
27c027913f rs minor 2010-07-30 11:57:30 -04:00
dwight
f3fbd835d9 rs better error reporting 2010-07-30 11:35:28 -04:00
dwight
78fc92c7bc logging 2010-07-30 11:08:47 -04:00
dwight
9300d2156b oplog diag display bug 2010-07-30 11:04:34 -04:00
dwight
5774d1e79b Merge branch 'master' of git@github.com:mongodb/mongo 2010-07-30 10:45:57 -04:00
dwight
4c7452ee14 rs fix 2010-07-30 10:45:48 -04:00
Eliot Horowitz
96d7b5a19e fix warning 2010-07-30 10:26:34 -04:00
dwight
f13fb3f96e rename 2010-07-29 17:36:24 -04:00
dwight
26058ab4a2 rename 2010-07-29 17:35:09 -04:00
dwight
b11475947d rs on rollback, verify no rollbacks at source as we work 2010-07-29 17:21:50 -04:00
Dwight
8118364603 rs drift diag 2010-07-29 15:35:32 -04:00
Dwight
abd17d10df minvalid set on rollback 2010-07-29 15:01:41 -04:00
Dwight
d28fb4689d must initiate at a primary 2010-07-29 14:17:54 -04:00
Eliot Horowitz
fb1e07e363 error code conflict 2010-07-29 13:59:47 -04:00
Dwight
aedb4a8bbd rs: priority 0 and 1 only for now - others coming soon 2010-07-29 13:49:45 -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
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
Eliot Horowitz
01fd336313 newline and dos2unix 2010-07-28 17:28:47 -04:00
Andrew C. Morrow
fc2f3d541f enable -Werror for gcc, fix one warning that becomes an error 2010-07-29 05:14:13 +08: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