couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Replication" by MarcinLepicki
Date Fri, 30 Oct 2009 13:57:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Replication" page has been changed by MarcinLepicki.
The comment on this change is: Added note about continuous replication.
http://wiki.apache.org/couchdb/Replication?action=diff&rev1=11&rev2=12

--------------------------------------------------

  
  Specifying a local `source` database and a remote `target` database is called ''push replication''
and a remote `source` and local `target` is called ''pull replication''. As of CouchDB 0.9,
pull replication works a lot more efficient and error resilient and it is suggested that you
use pull replication in most cases, especially if your documents are large or you have large
attachments.
  
+ === Continuous replication ===
+ 
+ To make replication continuous, add "continuous":true parameter to JSON, for example:
+ 
+ {{{
+ POST /_replicate HTTP/1.1
+ 
+ {"source":"http://example.org/example-database","target":"http://admin:password@127.0.0.1:5984/example-database",
"continuous":true}
+ }}}
+ 
+ At this time, CouchDB doesn’t remember continuous replications over a server restart.
For more info visit [http://books.couchdb.org/relax/reference/replication CouchDB: The Definitive
Guide, chapter Replication].
+ 
+ 
  See also: [[Replication_and_conflicts]]
  

Mime
View raw message