Commit Graph

203 Commits

Author SHA1 Message Date
Eliot Horowitz
a3d54ef5e4 was correct in its bizarre fashion before
Revert "replication see why strange code is the way it is added assert"

This reverts commit 4d613fb1f4.
2009-10-13 17:13:51 -04:00
Dwight
4d613fb1f4 replication see why strange code is the way it is added assert
or am i just not reading it right
2009-10-13 16:26:29 -04:00
Dwight
2d934d1006 move curNs to Client object 2009-10-13 16:01:02 -04:00
Dwight
cf7a86e0f9 make lasterror threadsafe
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00
Eliot Horowitz
ff170c0f9f use timestamp for replication instead of Date 2009-10-09 13:10:04 -04:00
Eliot Horowitz
17da656d91 fail fast on oplog already existing 2009-10-05 16:26:19 -04:00
Eliot Horowitz
c2b148ad2f cleaner output MINOR 2009-10-05 15:18:04 -04:00
Eliot Horowitz
0742697d44 print out oplog size when creating 2009-10-05 15:16:06 -04:00
Dwight
1a53fbf2ed fix bug where isMaster() returned false when should have been true 2009-09-22 13:45:42 -04:00
Dwight
20ce663892 adaptive replication sleep time
and log much cleaner for repl
2009-09-22 10:10:02 -04:00
Dwight
879e7b153e more CmdLine object 2009-08-25 14:35:22 -04:00
Dwight
2706a28123 begin cmdline.h 2009-08-25 10:24:44 -04:00
dwight
4120dfc568 fix checks that operations cannot be performed on slaves; also, allow read operations on
--slave instances (but not repl pair nonmasters)
2009-08-17 16:13:13 -04:00
Dwight
17042c403e use $snapshot in the clone / repl code where appropriate
also adds snapshot to the C++ client driver
2009-08-10 16:57:59 -04:00
Eliot Horowitz
abb40a551d got rid of exit() calls 2009-08-07 15:37:50 -04:00
Eliot Horowitz
79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Aaron Staple
3a337ff121 repl support for fast rename plus test 2009-07-29 19:10:34 -04:00
Aaron Staple
5dcdc3a59c fast collection renaming within a database 2009-07-29 15:53:14 -04:00
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