Commit Graph

98 Commits

Author SHA1 Message Date
Aaron
bf700c8040 Add autoresync option 2009-02-02 11:15:24 -05:00
Aaron
384514998c Make arbitration smarter -- arbiter forwards negotiate request to paired node 2009-02-02 09:53:01 -05:00
Aaron
1fe268276d Don't destroy db mutex 2009-01-29 17:26:07 -05:00
Aaron
44ad0f3b20 Add resync command 2009-01-29 11:46:45 -05:00
dwight
7aba6a0e0f _id can be any type 2009-01-25 19:53:51 -05:00
dwight
76b6aac917 make security work with repl pairs
replicate system.users collection
2009-01-24 21:25:55 -05:00
dwight
ec434bd7c1 make security work for repl pairs 2009-01-24 16:05:12 -05:00
dwight
cc62027aee replication with security on 2009-01-23 18:24:15 -05:00
dwight
cebc62161e log a little less 2009-01-23 15:15:07 -05:00
Aaron
a3f927ffed Add idempotence tests for some oplog operations 2009-01-23 10:17:29 -05:00
dwight
6728b807fa better version of sync checkpoint 2009-01-21 18:50:32 -05:00
dwight
821f43a268 checkpoint our replication progress periodically 2009-01-21 18:48:37 -05:00
Eliot Horowitz
3e7985c5d6 changed verbose to logLevel and added log(int) 2009-01-20 14:30:59 -05:00
Aaron
26b4acb5b9 Set up authInfo in contexts where it may be required 2009-01-20 11:05:53 -05:00
dwight
e1021ee8ab authenticate command work
some dbhelpers additions
less verbose logging
2009-01-18 17:48:44 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Aaron
303ad60dcf Large oplog collection sizes + misc 2009-01-13 10:34:36 -05:00
dwight
aeef0a9d3d Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	client/dbclient.cpp
	client/dbclient.h
2009-01-10 18:29:09 -05:00
dwight
8428e6cbda command work client driver 2009-01-10 18:17:23 -05:00
Aaron
dacc872ba2 Enhance json parser 2009-01-06 13:02:09 -05:00
Dwight
b7b8bed9f7 don't create local db if running without replication
clean up startup options for dbgrid
2009-01-06 10:48:09 -05:00
Dwight
c203d09166 eliminate one warning compiling 2008-12-31 10:03:30 -05:00
Dwight
e1a8364867 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-12-31 10:02:01 -05:00
Dwight
42a807d3ee minor logging prettiness 2008-12-31 10:01:55 -05:00
yellow
c38ac0015e [dm] if we see an operation in the oplog (at the slave) with a malformed database name,
skip the op rather than halting replication.
2008-12-30 17:39:18 +00:00
Aaron
c9429bb044 Reinstate pairing tests 2008-12-28 22:01:18 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Dwight
679d0aa0c3 if blank db name data present, just skip while replicating 2008-12-24 14:11:14 -05:00
Dwight
10825ba77d better error messagse for replication 2008-12-24 11:11:10 -05:00
Aaron
e416c1f119 Automatically repair databases when pdfile version changes 2008-12-18 13:32:47 -05:00
Aaron
b473e85b92 Make g++ warnings stricter, clear a few new warnings 2008-12-17 14:09:37 -05:00
Dwight
e02a96f48a fixes for replacepeer (replica pair functionality) 2008-12-15 18:00:10 -05:00
Dwight
e6e8900f73 $cmd replacepeer 2008-12-15 17:23:54 -05:00
Aaron
38edd39c7f Not master if haven't caught up 2008-12-12 16:00:55 -05:00
Dwight
410c4e03ff bool seemCaughtUp 2008-12-12 14:18:27 -05:00
Dwight
0e32c98bf3 protect against inappropriate $cmd's to a slave mode db
Command code cleanup
--quiet for Jim
2008-12-11 10:27:05 -05:00
Dwight
b393202f97 fix my brain dead timing code 2008-12-10 16:52:25 -05:00
Dwight
9a439fabdd Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-12-10 15:24:15 -05:00
Dwight
2c6a08b7de log cpu usage of the database (utilization) 2008-12-10 15:24:07 -05:00
Aaron
c552d12742 Simplify code for state logic 2008-12-10 13:21:22 -05:00
Aaron
8b8522c4e6 Lock repl pair state where necessary. 2008-12-10 13:07:18 -05:00
Dwight
a79b0b918c Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-12-10 11:33:05 -05:00
Dwight
980db0d0e6 for a repl pair, it is ok to pull from the other half of the pair replication data
if that member is a slave.  fixed in this commit.
2008-12-10 11:32:56 -05:00
Aaron
91c62b9ed6 Only dominant node in pair can assign master & slave status; fixes potential race condition 2008-12-10 11:14:48 -05:00
Aaron
155ac2b7c2 Add arbitration unit test; adjust tab formatting of some files 2008-12-07 20:58:20 -05:00
Aaron Staple
243a3e6b2f Adding some pairing tests 2008-12-05 16:03:35 -05:00
Dwight
1a95c75d0f don't log to our oplog operations we are replicating from elsewhere 2008-12-05 10:09:16 -05:00