Commit Graph

91 Commits

Author SHA1 Message Date
Kristina
7616b49d6d Revert "unreferenced var warning"
This reverts commit e0f23a5a16.
2011-05-11 09:18:16 -04:00
dwight
e0f23a5a16 unreferenced var warning 2011-05-10 21:34:30 -04:00
Kristina
115a795e99 op passthrough for w SERVER-992 2011-05-10 19:15:58 -04:00
Kristina
ff711f0d48 better logging 2011-05-10 17:35:55 -04:00
Eliot Horowitz
c83b140fbe store authed username in AuthenticationInfo SERVER-3074 2011-05-10 14:50:32 -04:00
Kristina
9dbe9864db more locking during theReplSet fields' r/w SERVER-3032 2011-05-04 18:46:16 -04:00
Kristina
5eaaddba61 more debugging info on sync errors SERVER-3031 2011-05-03 12:01:31 -04:00
Kristina
1008b8240e some rephrasing and comments 2011-05-02 18:26:08 -04:00
Dwight
0195c538dd all the replSet logging starts with the word replset for easy grepping; a couple changes to keep that consistent 2011-04-28 15:47:10 -04:00
gregs
a27401fa56 better logging in case of reconfig issues 2011-04-28 15:12:54 -04:00
Greg Studer
a4467c4849 fix for priority1.js - check still in rs before sync 2011-04-27 09:29:45 -07:00
gregs
ee92cf9882 log default rs heartbeats 2011-04-26 14:28:30 -04:00
Kristina
12c745e387 comments 2011-04-13 14:30:12 -04:00
Kristina
c126846c24 don't cut off sync if primary is up 2011-04-07 17:22:13 -04:00
Kristina
746af4a274 use ping times to find sync target SERVER-2909 2011-04-06 12:40:53 -04:00
Kristina
79d8885cad more detailed log output on initial sync SERVER-2232 2011-03-21 16:00:21 -04:00
Kristina
7e9c5f3dca handle cursor timeouts during initial sync SERVER-2681 2011-03-11 13:52:15 -05:00
Eliot Horowitz
73f4ee628c don't do commitIfNeeded RARELY SERVER-2657 180 2011-03-02 01:28:17 -05:00
Eliot Horowitz
ae21771238 some missing commitIfNeeded SERVER-2657 180 2011-03-02 00:46:22 -05:00
Kristina
277ff8dbf0 try switching to the primary between sync batches 2011-02-15 12:50:51 -05:00
Dwight
8ed7eabacb rs dont sync from slaveDelayd members 2011-02-14 16:21:04 -05:00
Kristina
6bf551e90f allow duplicate key exceptions in initial sync SERVER-2219 2011-01-13 13:31:01 -05: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
569b3b0199 allow stale members to sync from non-primary 2010-12-23 13:51:46 -05:00
Kristina
52a46867c7 sync against secondaries if primary is unavailable SERVER-2158 2010-12-22 18:43:08 -05:00
dwight
8b4deb5e8f better err msg and vcxproj updated for new cpp file 2010-11-19 11:05:29 -05:00
Kristina Chodorow
3e6e773ee4 fix rs tests 2010-11-10 12:09:30 -05:00
Kristina Chodorow
2683812ba8 allow initial sync from secondaries SERVER-1829 2010-11-09 17:29:27 -05:00
dwight
c7fa677e12 rs better error msgs and cleaning 2010-11-07 15:02:48 -05:00
dwight
279d33bee6 dbclient: once a connection in failed state be sure not to use it. this is a fairly big change in a way because it now throws mroe often. affects replica sets. 2010-10-31 19:12:12 -04:00
dwight
00fa1a1278 keep arb- reconf off for the moment 2010-10-31 12:11:38 -04:00
dwight
e20f638e8c rs fix initial sync oplog application it was grabbing the whole oplog which can be problematic and inefficient 165 2010-10-30 15:41:35 -04:00
dwight
8e027b4f36 comments and cleaning and safer 2010-10-30 14:56:56 -04:00
dwight
0bb17dfae1 add assert 2010-10-30 14:49:57 -04:00
dwight
4a6b9257b8 better logging on rs errors 165 2010-10-30 14:41:49 -04:00
Eliot Horowitz
68edc8aa37 better assert for rs error 2010-10-26 00:17:38 -04:00
Kristina Chodorow
45b08e54aa allow arbiter to become secondary & vice versa SERVER-1930 2010-10-20 16:35:01 -04:00
Kristina Chodorow
5ac3449393 "too stale" server should go into recovering SERVER-1933 2010-10-18 11:59:51 -04:00
Kristina Chodorow
b01f4c9366 ignore slaveDelay until initial sync is complete 2010-10-04 14:52:20 -04:00
Dwight
cb5bfad605 bug fix: was never coming back online after rs.stepDown() in a single member repl set 2010-10-04 11:22:40 -04:00
Kristina Chodorow
a16d5cc4d6 make slaveDelay wait to write on the first op SERVER-1882 2010-10-01 18:02:44 -04:00
dwight
e9d0762ed5 name was confusing 2010-09-07 12:18:44 -04:00
dwight
86a1bf2878 rs honor RS_FATAL in sync thread 2010-09-02 10:16:52 -04:00
Dwight
494530e5d2 rs potential fix for sync1.js intermittents 163 2010-08-30 10:56:17 -04:00
dwight
a5818c40a7 more logging to debugh sync1.js [2] 2010-08-29 21:24:15 -04:00
dwight
0a780284ff more logging to debugh sync1.js 2010-08-29 21:20:54 -04:00
dwight
3701f69ddf rs add a new test case 2010-08-29 16:03:17 -04:00
Dwight
2f1b077bb5 do not background index when applying a create index operation 2010-08-23 13:55:34 -04:00
Eliot Horowitz
62c81c93ca fix compile 2010-08-18 14:39:50 -04:00