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 StephaneAlnet
Date Sun, 15 May 2011 21:39:53 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 StephaneAlnet.
The comment on this change is: Documenting _replicator DB as described in JIRA's link..


New page:
[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.

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