Hi,

I tried your method and it works.

The problem is, that I can undelete a document
but the data it carried is gone.

It seems this is normal behavior:

"The doc itself is gone, the deleted stub is still there for
replication conflict resolution."

http://mail-archives.apache.org/mod_mbox/couchdb-user/200901.mbox/%[email protected]%3e

So you can't really resurrect a deleted document with its data
or is there some other way?

On Sun, 27 Dec 2009 09:17:53 -0800, Troy Kruthoff <[email protected]>
wrote:
> I believe the revision does change when you delete the doc, meaning  
> the delete will be replicated to your "master" for which you can  
> monitor changes and un-delete the document, causing it's rev to again  
> be modified and re-replicated to the slaves.
> 
> Troy

Reply via email to