Commit Graph

131 Commits

Author SHA1 Message Date
Aaron
cec6d1af97 Persist dbs to add 2009-03-31 14:05:20 -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
d74b108dd4 include \!justCreated case, for redundancy 2009-03-31 10:23:05 -04:00
Aaron
d9dff04bbd Don't log db presence explicitly 2009-03-30 17:08:06 -04:00
Aaron
529780f250 Apply first entry when 'initial' 2009-03-30 16:28:52 -04:00
Aaron
ca46791a7b Just exit if --only specified without --source 2009-03-24 11:46:55 -04:00
Aaron
a1a76f96bf Check --pairwith peer spec against local.sources on startup 2009-03-23 11:38:22 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
6d10afbd49 Find requested oplog entry starting from tail of log 2009-03-18 17:24:10 -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
5711417230 Handle 'only' spec when reading db list 2009-03-17 18:22:17 -04:00
Aaron
0a578392a6 More robust / accurate checking of previous failed initial clone 2009-03-17 17:20:08 -04:00
Aaron
8ffaa3e2d9 Remove 'haveLogged' 2009-03-17 13:48:40 -04:00
Aaron
f1b3732e1d Remove first:true op field 2009-03-17 13:36:06 -04:00
Aaron
9f5ae81ed4 Start from end of op log on initial query (first commit) 2009-03-17 13:18:54 -04:00
Aaron
04e03fccc3 More specific information on repl exceptions 2009-03-12 11:01:52 -04:00
Aaron
eb68328620 Test exhausting oplog space 2009-03-06 11:51:44 -05:00
Aaron
20e6ea6b8e Invalidate log if run out of space 2009-03-06 11:08:30 -05:00
Aaron
9817535968 Infrastructure for validating log 2009-03-06 10:45:35 -05:00
Aaron
feb63537e1 Fix some clonecollection issues 2009-03-05 19:58:07 -05:00
Aaron
ae78648781 Better cloneCollection checkpoint 2009-03-04 15:57:35 -05:00
Aaron
5ca50873ab Fix line which would never log 2009-03-02 18:39:10 -05:00
Aaron
930f169fd7 Add idempotence test for timestamp update 2009-03-02 18:16:27 -05:00
Dwight
459d62347b replication / exception throwing bug fix
--only option added
2009-02-12 15:03:38 -05:00
Dwight
9f5fe79f2f little things: hack for windows filenames, better logging 2009-02-11 11:28:49 -05:00
Dwight
85298ec174 wasn't logging enough 2009-02-11 09:58:01 -05:00
Dwight
147948c7b3 doneAndDecouple() -> obj() 2009-02-09 13:04:32 -05:00
Dwight
7d593671fe rename classes and add a new client connect method 2009-02-06 16:56:14 -05:00
Aaron
5cb34b0b80 Allow 'count' command on a slave 2009-02-04 17:24:15 -05:00
Dwight
5dd84d0638 on exit, wait for replication to finish up 2009-02-04 13:22:02 -05:00
Eliot Horowitz
3aa74384ae grid/message -> util/message 2009-02-03 13:30:28 -05:00
Aaron
99ad2eac76 Parse port suffix before calling hostbyname() 2009-02-02 16:18:44 -05:00
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