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
Dwight
0fe5e50be0
web console work
2008-12-04 14:33:18 -05:00
Dwight
e0727dc658
clone/copy db now works on replicating databases
2008-12-03 18:27:32 -05:00
Dwight
eff1694cd7
repl tran log was smaller than it should be
2008-12-02 15:51:00 -05:00
Dwight
60b769a8cb
replication fixes -- "first: true" support (local.dbinfo.*); clean up class name
2008-12-02 14:24:45 -05:00
Dwight
182651744c
repl pair bug fix
2008-12-01 14:55:36 -05:00
Dwight
d4504325ee
replication debug output
...
2008-12-01 13:23:20 -05:00
unknown
5ca796e0dd
a little more on web
2008-11-30 21:00:54 -05:00
Dwight
6c1d07af9b
go 'dead' mode if replication pairing confused
2008-11-20 18:03:41 -05:00
Dwight
458de60cf0
better error message replication
2008-11-19 17:29:06 -05:00
Dwight
890048958b
--source useful now
2008-11-10 17:45:39 -05:00
Dwight
a89d6b94f7
--source cmd line
2008-11-10 11:20:30 -05:00
Dwight
a4968427e2
bug fix with $natural
...
timeout on connects w/dbgrid faster
2008-11-03 20:42:59 -05:00
Dwight
0aef80f8cc
rename classes
2008-10-21 16:13:48 -04:00
unknown
f91cff53a0
griddb work
2008-10-19 17:46:53 -05:00
unknown
74624cebd8
DBClientCommands started
2008-10-19 11:17:25 -05:00
Dwight
e7931c2ad6
fix replication b ug with blank source name
2008-10-13 15:55:38 -04:00
Dwight
b696111e64
repl: source parm now optional
2008-10-10 16:55:21 -04:00
Dwight
3332989338
copydb - not yet done
2008-09-12 15:00:20 -04:00
Dwight
e9370576ad
oplogging off unless a special build
2008-09-11 16:25:16 -04:00
Dwight
f56113d736
arbitrate
2008-09-11 15:13:47 -04:00
Dwight
87ba097b35
declare who our remote is on ismaster cmd
2008-09-11 13:48:30 -04:00
Dwight
2b67b58085
Option_SlaveOk
2008-09-11 13:04:30 -04:00
Dwight
1d4379a5d2
dbgrid.cpp added; return $err on assert
2008-09-11 10:45:57 -04:00
Dwight
5f163f72b8
dbgrid.vcproj missing; more work on dbgrid
2008-09-11 09:15:34 -04:00
dwight
4af0da7918
break out code to serparate file
2008-09-08 20:37:59 -04:00
Dwight
8dd8937576
better class name
2008-09-05 18:04:29 -04:00
Dwight
5727d1b853
repl tweaks
...
justCreated wasn't qutie right
smarter about handling new db's beign advertised
log cleaner
2008-09-05 10:40:00 -04:00
Dwight
5f9d52a2f5
more work on pairing
2008-09-04 18:24:03 -04:00
Dwight
5deec92469
endian check capability
...
repl work in progress
cleanup
2008-09-04 10:33:56 -04:00
Dwight
8cac7e4dc4
advertise new dbs for replication; handle user asserts on repl
2008-09-03 16:43:00 -04:00
Dwight
43529c43cf
we only clone one database per pass, even if a lot need done. This helps us
...
avoid overflowing the master's transaction log by doing too much work before going
back to read more transactions. (Imagine a scenario of slave startup where we try to
clone 100 databases in one pass.)
2008-08-26 13:34:34 -04:00
Dwight
ca08e48791
repl tweaks
2008-08-25 16:46:39 -04:00
Dwight
53c3f540b6
auto add _id index on slave so replication is fast
2008-08-19 17:13:20 -04:00
Dwight
bfb61b7795
cleanup
2008-08-19 16:12:13 -04:00
Dwight
4e922d955b
reuse cursor from repl batch to batch
2008-08-19 14:39:44 -04:00
Dwight
c0867d2c3f
replicate $inc right; implement $set
2008-08-18 18:00:17 -04:00
dwight
03229b8fa9
repl npe / cleanup when can't connect to master
2008-08-17 21:32:37 -04:00