Commit Graph

104 Commits

Author SHA1 Message Date
Kristina
ab883bc2ed fix rs log messages 2011-06-10 09:59:17 -04:00
Kristina
f0337ae981 fast sync passthrough SERVER-992 2011-06-09 15:05:34 -04:00
Kristina
a3b4ae9f1c less verbose logging for slaveDelay SERVER-2437 2011-06-01 11:06:23 -04:00
Kristina
191b585ef9 stale members cannot become primary SERVER-2969 2011-05-27 12:37:27 -04:00
dwight
bd5b607137 make applylogop slightly faster and general applyop cleaning 2011-05-23 20:03:18 -04:00
dwight
0c02f32878 comments, cleaning 2011-05-23 20:03:03 -04:00
Kristina
08730e6a5f don't assert on legit query errors, just retry 2011-05-17 15:04:34 -04:00
Kristina
e14f0af046 less aggressive about updating oplog pos 2011-05-16 14:52:40 -04:00
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
Kristina
9c4a6bebd2 make sure we don't create a sync loop 2011-05-12 15:21:37 -04:00
Kristina
cf2d5f41a0 fix sync error messages 2011-05-11 10:09:14 -04:00
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