Commit Graph

120 Commits

Author SHA1 Message Date
dwight
6aee211334 on a missing object, thats ok as a delete may occur later 2011-09-28 08:41:16 -04:00
dwight
33342ebb76 continuation of initial sync fix 2011-09-28 08:41:09 -04:00
dwight
f5f0053a1f fix a possible issue with initial sync with replication when updates are in flight.
also correct UpdateResult in one case
2011-09-28 08:41:03 -04:00
Kristina
6b61f6a212 change log to warning SERVER-3712 2011-08-30 11:18:45 -04:00
dwight
63c87fe20c use LOG() more 2011-08-02 02:36:46 -04:00
Kristina
c84f98ab80 maintenance mode for commands SERVER-3427 2011-07-29 11:48:09 -04:00
Kristina
1154090a71 display error doc when sync fails 2011-07-29 11:31:20 -04:00
Kristina
b3e61c8c6b unlock ghost sync before going to a remote server 2011-07-18 18:08:12 -04:00
Kristina
0adffac1b2 put ghost sync startup method back in 2011-07-18 17:01:44 -04:00
dwight
09a6f288b2 standardize thread names a bit, including starting
all replset threads with 'rs' and user camelcase for thread
names and remove spaces for compactness in our logging
2011-07-16 18:18:03 -04:00
Eliot Horowitz
a1ab42a281 fix concurrency around GhostSync 2011-07-16 08:03:52 -04:00
Eliot Horowitz
beb8dc7084 remove unused method in GhostSync 2011-07-16 07:33:01 -04:00
Eliot Horowitz
d5bb38763d log cleaning 2011-07-15 10:59:24 -04:00
Kristina
db06c7a6d3 slave tracking optimizations 2011-07-14 13:40:22 -04:00
Kristina
f37b39fab8 use tailing queries for initial sync 2011-07-06 10:21:06 -04:00
Kristina
759e1e646d allow members to stay gracefully alive when removed from a set 2011-06-14 16:05:44 -04:00
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