couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <>
Subject Re: replication - use new data only after successfull replication
Date Wed, 13 Jun 2012 07:08:08 GMT
On 13 June 2012 06:55, R. Germershausen <> wrote:
> hi. is there any way to make couchdb only usind new data after
> successfull replication?
> for example: during replication a document is deleted. replication is
> interrupted. but there is another document (old version) which i use to
> generate a navigation. so this would point to a non existing document.
> can i somehow prevent this? so only use new data when replication is
> fully done?

Not directly.

I think the best approach if this is an issue is to see if you can
bundle up these
changes into a single document - for example put these navigation items as
attachments into a single doc, or as part of a design document, so that
it's transferred atomically.

Alternatively you can always do specific doc replication by passing a set of
ids to the replicator, and then run a normal replication as a second phase:


View raw message