On 13 June 2012 06:55, R. Germershausen <[email protected]> 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: http://wiki.apache.org/couchdb/Replication#Named_Document_Replication A+ Dave
