apache / nano

Nano is now part of Apache CouchDB. Repo moved to https://GitHub.com/apache/couchdb-nano
https://github.com/apache/couchdb-nano
Other
1.13k stars 157 forks source link

Adding replication using the "_replicator" database #350

Closed carlosduclos closed 7 years ago

carlosduclos commented 7 years ago

Starting with 1.2.0 CouchDB added a new system database called "_replicator" to handle replications jobs.

Replications are now created as entries on that database and the server will schedule and perform the replication accordingly. Entries in the "_replicator" db will be updated.

This means that replication now is a completely asynchronous job that is not guaranteed to run right after the replication was started.

This commit adds three new object with three object to handle this new type of replication:

More information on this type of replication can be found:

Refers to issue #349.

carlosduclos commented 7 years ago

Merged on apache/couchdb-nano