pouchdb / pouchdb-server

CouchDB-compatible server built on PouchDB and Node
Apache License 2.0
955 stars 154 forks source link

Implement /_active_tasks #182

Open nolanlawson opened 7 years ago

nolanlawson commented 7 years ago

From @nolanlawson on October 18, 2015 0:41

Right now if you start a continuous replication in the Fauxton UI it will work, but you won't see any ongoing replications in the "active tasks" tab. It would be a lot nicer if this actually worked.

The way CouchDB works is that you can create ongoing replications that are in the _replicator database, and it will ensure that two DBs always stay in sync. This would be a killer feature for PouchDb Server.

See https://github.com/pouchdb/express-pouchdb/pull/265 for discussion and a TODO that I added to the source code.

Copied from original issue: pouchdb/express-pouchdb#266

nolanlawson commented 7 years ago

I suppose the "active tasks" and "_replicator database" might technically be two separate issues. (I guess you can have an ongoing replication that isn't defined in the _replicator database?) But it would be nice to fix both.

nolanlawson commented 7 years ago

From @marten-de-vries on October 18, 2015 11:17

_replicator is there already. Renaming this issue.

nolanlawson commented 7 years ago

Thanks, thought I might have made that mistake.