0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

75 Commits

Author SHA1 Message Date
Dwight
20ce663892 adaptive replication sleep time
and log much cleaner for repl
2009-09-22 10:10:02 -04:00
dwight
740318b133 isMaster() - still wasn't right 2009-08-17 21:46:18 -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
Aaron
6a2a8d385f comments MINOR 2009-05-28 15:22:24 -04:00
Aaron
5ec3dc58da merge 2009-05-07 11:23:01 -07:00
Aaron
898b1feb14 extracted DbSet 2009-05-06 20:24:01 -04:00
Aaron
d5dc67eb33 comment MINOR 2009-05-06 19:02:48 -04:00
Aaron
4cdfce21a9 update comments to describe new repl data format MINOR 2009-05-06 11:41:09 -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
8305e4cd77 always get owned id and include that mem in returned size 2009-04-27 10:31:32 -04:00
Aaron
470731bd4c need to explicitly create collection before calling ensureIndex 2009-04-24 18:16:10 -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
97bbbb35cd test rough mem id set size 2009-04-23 18:26:42 -04:00
Aaron
63cc171bbb tests for db and mem based id sets 2009-04-23 18:01:24 -04:00
Aaron
c9bf4e8527 relocate IdSets objects, fix bug tracking local id 2009-04-23 14:44:05 -04:00
Aaron
86bfe9dbdf refactor pairing code 2009-04-22 17:44:23 -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
bf656b52ff add sigkill case, handle writes to master during oplog reconciliation 2009-04-17 13:21:50 -04:00
Aaron
f660a76369 pairing checkpoint 2009-04-16 11:36:06 -04:00
Aaron
969a20b4f6 track ids across multiple namespaces, handle mods correctly 2009-04-10 15:24:11 -04:00
Aaron
f5b887069c rough first cut of new pair oplog reconciliation logic 2009-04-09 18:50:29 -04:00
Aaron
df91e7d5b1 Fix ReplSource memory leaks 2009-04-01 16:00:56 -04:00
Aaron
c54883ff61 Always list databases if syncedTo is initial 2009-03-31 12:09:55 -04:00
Aaron
a1706a3d1b Reset ReplSource on resync 2009-03-31 11:44:35 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
ef94f514b7 On resync, clear all nontrivial local dbs that exist on remote machine 2009-03-18 13:45:32 -04:00
Aaron
9f5ae81ed4 Start from end of op log on initial query (first commit) 2009-03-17 13:18:54 -04:00
Aaron
ae78648781 Better cloneCollection checkpoint 2009-03-04 15:57:35 -05:00
Aaron
69f25ba1fd Explicit constructor 2009-03-03 18:09:03 -05:00
Dwight
4d5f0e9a78 clean up exception classes 2009-02-06 16:21:49 -05:00
Dwight
5dd84d0638 on exit, wait for replication to finish up 2009-02-04 13:22:02 -05:00
Aaron
bf700c8040 Add autoresync option 2009-02-02 11:15:24 -05:00
Eliot Horowitz
9bcacf16c0 pragma pack changes for solaris
slight change this will break other platforms, will test
2009-02-01 22:21:32 -05:00
Aaron
44ad0f3b20 Add resync command 2009-01-29 11:46:45 -05:00
dwight
cc62027aee replication with security on 2009-01-23 18:24:15 -05:00
Aaron
3f0a199b79 Destroy cursor before connection 2009-01-23 14:25:16 -05:00
Aaron
a3f927ffed Add idempotence tests for some oplog operations 2009-01-23 10:17:29 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Dwight
10825ba77d better error messagse for replication 2008-12-24 11:11:10 -05:00
Dwight
e6e8900f73 $cmd replacepeer 2008-12-15 17:23:54 -05:00
Dwight
b393202f97 fix my brain dead timing code 2008-12-10 16:52:25 -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
Dwight
e0727dc658 clone/copy db now works on replicating databases 2008-12-03 18:27:32 -05:00
unknown
5ca796e0dd a little more on web 2008-11-30 21:00:54 -05:00