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 "Replicator_DB" by FilipeManana
Date Mon, 16 May 2011 11:21:13 GMT
Dear Wiki user,

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

The "Replicator_DB" page has been changed by FilipeManana.
The comment on this change is: The mentioned gist content should be ported into this wiki.
http://wiki.apache.org/couchdb/Replicator_DB?action=diff&rev1=1&rev2=2

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

  [Note: This should be integrated in the [[Replication]] page once the feature is released.]
  
- Replicator DB is a new, not yet released in official CouchDB, release which allows CouchDB
to automatically start replication processes at startup.
+ The replicator database is a new feature, not yet in any CouchDB release.
+ 
+ An introduction to it can be found in the following gist:  https://gist.github.com/832610
  
  This feature was introduced by [[https://issues.apache.org/jira/browse/COUCHDB-776|COUCHDB-776]].
  
- The _replicator table contains one CouchDB document per replication that needs to be started.
The format of the document is similar to the [[Replication#Run_Replication|Replication]] REST
interface, with some additions.
- 
- {{{
-   {
-     _id: "_replicator doc ID",
-     source: "database-or-URI",
-     target: "database-or-URI",
-     continuous: true|false,
-     create_target: true|false,
-     cancel: true|false,
-     filter: "name",
-     query_params: { "key": "value", ... },
-     doc_ids: [...],
-     proxy: "URI",
-   }
- }}}
- 
- The following fields are added by the _replicator process:
- 
- {{{
-      state: "completed|error|triggered",
-      replication_id: "...",
- }}}
- 
- The name of the replicator database is {{{_replicator}}} by default, but might be modified
as the "db" key under the "replicator" section of config.ini.
- 
- The _replicator database has its own validation rules, by default in _design/_replicator.
- 

Mime
View raw message