couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
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.


  [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:
  This feature was introduced by [[|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.

View raw message