Commit Graph

413 Commits

Author SHA1 Message Date
Kristina
00485a8cb5 Reverse initial sync assertion SERVER-4430 2011-12-05 15:00:18 -05:00
dwight
ed5353bb0a revert dbholdermutex 2011-12-03 13:32:26 -05:00
Dwight
5c3e52d7a5 change holdermutex to be nonrecursive which is preferrable and also now we can dassert locked for more safety 2011-12-01 12:45:59 -05:00
Kristina
e54996c810 add tests for recloning missing docs SERVER-3367 2011-11-30 14:25:34 -05:00
dwight
ba858ba8d3 redo how we handle concurrency when opening a database initially.
this was awkward at best before (very old code).  however the change is pretty big and is thus
worth a careful review - the main issue possible is not being locked as widely as it should be
somewhere, not so much the specifics of any one line of the change.

also cleaned up the Context constructors to be more readable and got rid of one completely

made several Context object members const
2011-11-26 21:08:11 -05:00
Kristina
c99abec538 Generalize recloning docs on initial oplog application SERVER-3367 2011-11-11 18:24:36 -05:00
dwight
703ca00a57 mark code to be fixed 2011-11-11 09:45:30 -05:00
dwight
4bf4bcf0b4 dynhost work 2011-10-28 09:33:24 -04:00
Dwight
a9a20a186e minor 2011-10-26 15:55:03 -04:00
Eliot Horowitz
5fa00754cd veok" shouldn't be used, especially in error messages, since every function uses "slaveOk" SERVER-3804
from: patrick@collison.ie
2011-09-12 12:26:01 -04:00
Aaron
c4639a3e61 ignore op objects without valid ts fields, which can be the case with synthetic 'db' ops created slave side; should fix closeall bb failures 2011-08-23 13:05:44 -07:00
Aaron
0fa2156404 Revert "try to fix jstests/dur/closeall.js"
This reverts commit 3e1729e2b6.
2011-08-23 13:03:56 -07:00
Eliot Horowitz
3e1729e2b6 try to fix jstests/dur/closeall.js 2011-08-23 14:29:30 -04:00
gregs
e5d902202f full API change to command interface, add options SERVER-3405 2011-07-27 15:59:27 -04:00
Kristina
84066dcac9 make sure rs always sets _logOp after newRepl runs 2011-07-25 13:20:25 -04:00
Eliot Horowitz
142a86b237 net cleaning: move message.* to net/
net cleaning: move http tools to net/
2011-06-26 17:13:54 -04:00
Eliot Horowitz
efeae2a369 fix local.me for regular master/slave 2011-06-26 11:33:40 -04:00
Kristina
d53566233a store host in local.me SERVER-3328 2011-06-24 17:56:42 -04:00
Eliot Horowitz
131e1d2182 more cleaning 2011-06-22 15:51:08 -04:00
Eliot Horowitz
4d2cb04931 more update cleaning 2011-06-20 16:23:54 -04:00
Kristina
f0337ae981 fast sync passthrough SERVER-992 2011-06-09 15:05:34 -04:00
Kristina
86b739cdcc fixed sync cache access 2011-05-14 11:43:25 -04:00
Kristina
783dbc3059 remove repeat sync handshakes 2011-05-12 12:03:53 -04:00
Kristina
ae459f9ef5 prep for op passthrough for w SERVER-992 2011-05-10 19:15:58 -04:00
Eliot Horowitz
c83b140fbe store authed username in AuthenticationInfo SERVER-3074 2011-05-10 14:50:32 -04:00
dwight
a5b1570b4f avoid potential race conditions with ReplSet::startupStatusMsg 2011-05-06 22:08:09 -04:00
Kristina
e9ae388f30 added more log messages and checks for m/s repl errors SERVER-3029 2011-05-03 11:29:30 -04:00
Aaron
e50a02fa1e SERVER-2111 merge assert codes 2011-04-12 22:25:05 -07:00
Aaron
4c66fe26c7 SERVER-2111 Synchronize db names with master if a case conflict is detected in replication 2011-04-12 21:54:20 -07:00
Aaron
cd19c1835f SERVER-2351 allow killop to interrupt a repair database command 2011-04-01 18:34:10 -07:00
Aaron
18e260a998 SERVER-2843 Don't yield db mutex during a repair 2011-03-29 18:14:52 -07:00
Aaron
fce112398b SERVER-1465 remove replica pairs 2011-03-29 16:56:53 -07:00
Kristina
79ea0806a9 don't log auth messages when no auth is being used SERVER-2781 2011-03-24 15:39:36 -04: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
Dwight
c1835259d0 comment 2011-02-03 12:12:15 -05:00
Aaron
1cc11c971b remove unused variable 2011-01-31 15:58:55 -08:00
Eliot Horowitz
1b73f3ef83 better anyReplEnabled 2011-01-31 15:46:42 -05:00
Kristina
aed38eda42 don't try to auth oplog conn if auth isn't enabled 2011-01-14 11:24:42 -05:00
Kristina
71f257f2c5 auth context if necessary SERVER-1899 2011-01-13 14:47:20 -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
Eliot Horowitz
d45f048947 putting back validation on setParamter replApplyBatchSize and a setParamter validation hook 2010-12-01 11:12:28 -05:00
Dwight
a4eef074ec fix repl10.js 2010-11-29 16:26:18 -05:00
dwight
1319d64c6a crlf 2010-11-29 10:57:16 -05:00
dwight
24e1e55e5e compile 2010-11-29 10:45:47 -05:00
dwight
32573ea7aa experimental option allowing application of multiple writes on a slave in a single write lock. 2010-11-29 10:21:18 -05:00
dwight
a4728be3a9 Revert "fix regression in repl slave pretouch"
This reverts commit e58e80b708.
2010-11-28 23:41:10 -05:00
dwight
e58e80b708 fix regression in repl slave pretouch 2010-11-28 23:28:04 -05:00
Kristina Chodorow
4c11954523 log when slave has no source SERVER-2091 2010-11-17 14:58:35 -05:00