Commit Graph

184 Commits

Author SHA1 Message Date
dwight
0bdf5ae605 fixed: slave shouldn't report ismaster true 2009-07-20 11:23:12 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Aaron
df4d7bc751 log periodically while cloning a collection, log sync point when applying oplog 2009-05-28 15:37:45 -04:00
Aaron
d0192b19ea repl save and log progress every minute instead of every five minutes 2009-05-28 15:23:42 -04:00
Aaron
17e01b215b more correct check for misdirected negotiate command requests 2009-05-28 13:35:39 -04:00
Aaron
8423cdf30f BUG SERVER-53 handle case where another mongod instance is treating our node as a peer even though our node is not configured for pairing 2009-05-27 13:55:30 -04:00
Aaron
3d03daec09 improve periodic repl saving and logging 2009-05-21 14:30:41 -04:00
Aaron
7552a7ccb5 fix op logging for collection creation and for convertToCapped 2009-05-21 11:07:11 -04:00
Aaron
b8c6d85506 more robust maintenance of mod ids set in repl code 2009-05-19 17:30:11 -04:00
Aaron
0941be442d more debugging for pair4.js test MINOR 2009-05-13 16:34:35 -04:00
Aaron
5a0f2e5501 enhance DbSet 2009-05-11 10:46:54 -04:00
Aaron
6ea9c81aa3 DBDirectClient uses main db mutex recursively and preserves database context 2009-05-06 11:32:48 -04:00
Aaron
7c0dc0bd62 log operation when its application triggers an exception 2009-05-05 12:52:53 -04:00
Aaron
aa8e5659c9 pairing improvements MINOR 2009-05-01 13:14:37 -04:00
Aaron
09938a0351 don't clone empty dbs 2009-05-01 12:18:17 -04:00
Aaron
d4e08f8a5c log when can't connect to arbiter MINOR 2009-04-30 11:27:00 -04:00
Aaron
947c18dea1 only log reclone once MINOR 2009-04-29 17:28:14 -04:00
Aaron
feb797fabf validate initial sync status in e2e test 2009-04-28 15:33:56 -04:00
Aaron
8083500f7c actually log MINOR 2009-04-27 16:10:21 -04:00
Aaron
e501658529 new master kills new slave before updating own state 2009-04-27 15:32:27 -04:00
Aaron
7560c29dc2 ensure there are no pending ops from new slave before saving position in new master's local oplog 2009-04-27 15:30:17 -04:00
Aaron
992bb3f069 more robust detection of filling up local oplog 2009-04-27 15:11:43 -04:00
Aaron
8305e4cd77 always get owned id and include that mem in returned size 2009-04-27 10:31:32 -04:00
Aaron
8d72ed78c3 don't even check id sets on slave side 2009-04-24 18:14:35 -04:00
Aaron
a074f284b5 remove log MINOR 2009-04-24 15:05:08 -04:00
Aaron
10c0670c52 test for upgrading to collection based set storage 2009-04-24 14:35:13 -04:00
Aaron
c710e7b01a implement upgrade to collection based set storage 2009-04-24 11:14:29 -04:00
Aaron
63cc171bbb tests for db and mem based id sets 2009-04-23 18:01:24 -04:00
Aaron
35ad913596 implement id tracker using db storage 2009-04-23 16:00:57 -04:00
Aaron
be64ebd0ad abstract id management code to a class 2009-04-23 15:00:40 -04:00
Aaron
c9bf4e8527 relocate IdSets objects, fix bug tracking local id 2009-04-23 14:44:05 -04:00
Aaron
c303686482 treat empty database same as just created database when figuring ownership 2009-04-23 13:55:07 -04:00
Aaron
8bf9e88cf1 require manual resync on filled oplog 2009-04-23 12:16:18 -04:00
Aaron
20214fdded keep incompleteCloneDbs updated 2009-04-22 19:10:23 -04:00
Aaron
855b26d008 remove deubg logging MINOR 2009-04-22 17:52:33 -04:00
Aaron
429ea669d7 don't add to incomplete clone list unless going to start clone immediately 2009-04-22 17:45:43 -04:00
Aaron
86bfe9dbdf refactor pairing code 2009-04-22 17:44:23 -04:00
Aaron
047b1fb589 no longer need to filter remote db list with local db list 2009-04-22 16:25:53 -04:00
Aaron
efd6a1ec92 test auto reclone without subsequent write 2009-04-22 15:57:26 -04:00
Aaron
e54bfd896a merge 2009-04-22 15:34:59 -04:00
Aaron
0eb64ee342 get rid of 'dbs' list 2009-04-22 13:53:35 -04:00
Aaron
12d259e8a5 get rid of initialPull variable -- no longer necessary 2009-04-22 11:57:45 -04:00
Aaron
4a3631017b new master forces new slave to resync if either master or slave oplog has filled since while both are master 2009-04-22 10:52:32 -04:00
Aaron
eb5fa5c7d8 add index id in userCreateNS, unless this is not requested in create spec 2009-04-21 15:42:22 -04:00
Aaron
bf656b52ff add sigkill case, handle writes to master during oplog reconciliation 2009-04-17 13:21:50 -04:00
Aaron
3a834f87d4 better 'initialPull' semantics 2009-04-17 10:38:11 -04:00
Aaron
f660a76369 pairing checkpoint 2009-04-16 11:36:06 -04:00
Aaron
0f9c165ad0 don't require new connection for oplog reconciliation, just slave writing to oplog 2009-04-10 17:55:55 -04:00
Aaron
ea5b205666 must be exactly one master when applying oplog after initial sync completed 2009-04-10 17:03:45 -04:00
Aaron
969a20b4f6 track ids across multiple namespaces, handle mods correctly 2009-04-10 15:24:11 -04:00