Replication: Persisting replications over a server restart #476

Open
lupomontero opened this Issue Nov 5, 2012 · 0 comments

Projects

None yet

1 participant

@lupomontero

Hey,

Im working on the Spanish translation and while working on the "Replication" chapter I realised the guide says:

At the time of writing, CouchDB doesn’t remember continuous replications
over a server restart. For the time being, you are required to trigger them
again when you restart CouchDB. In the future, CouchDB will allow you to
define permanent continuous replications that survive a server restart
without you having to do anything.

However, according to the Wiki (and my own experience) we have the _replicator database which was introduced in CouchDB 1.1.0 to persist replications. According to this gist linked on the WIki:

When CouchDB is restarted, it checks its _replicator database and restarts
any replication that is described by a document that either has its
_replication_state field set to "triggered" or it doesn't have yet the
_replication_state field set.

Note: Continuous replications always have a _replication_state field with
the value "triggered", therefore they're always restarted when CouchDB is
restarted.

In the guide there is also no mention of the New features introduced in CouchDB 1.2.0

It would be great if we could update this chapter with the latest info. Should I attempt updating this chapter and send a pull request? Or is this something one of the authors should look at?

Cheers,

L

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment