diff options
| author | Adam Kocoloski <kocolosk@apache.org> | 2009-03-07 18:48:47 +0000 |
|---|---|---|
| committer | Adam Kocoloski <kocolosk@apache.org> | 2009-03-07 18:48:47 +0000 |
| commit | f7c2f1f59ef95d4c4976c56c1bbf718f8036ca87 (patch) | |
| tree | 00c7c16650d31701746f6b944ae3e4ab070c3823 /src/couchdb/couch_server_sup.erl | |
| parent | 5b9b9823e091b6e8720d3930785f59c424239daa (diff) | |
rewrite replicator using OTP behaviours
- only one instance of given source->target runs at a time
- supervisor restarts replications that terminate abnormally
- pull repl. streams attachments directly to disk
- improved memory utilization
- temporarily rollback parallel async doc GETs during pull rep.
- replication updates show up in Futon Status window
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@751305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_server_sup.erl')
| -rw-r--r-- | src/couchdb/couch_server_sup.erl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/couchdb/couch_server_sup.erl b/src/couchdb/couch_server_sup.erl index 942de092..15867ad7 100644 --- a/src/couchdb/couch_server_sup.erl +++ b/src/couchdb/couch_server_sup.erl @@ -133,6 +133,12 @@ start_primary_services() -> brutal_kill, worker, [couch_log]}, + {couch_replication_supervisor, + {couch_rep_sup, start_link, []}, + permanent, + infinity, + supervisor, + [couch_rep_sup]}, {couch_task_status, {couch_task_status, start_link, []}, permanent, @@ -150,7 +156,9 @@ start_primary_services() -> permanent, brutal_kill, supervisor, - dynamic}]}). + dynamic} + ] + }). start_secondary_services() -> DaemonChildSpecs = [ |
