couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <>
Subject Re: History Proposal
Date Sun, 16 Aug 2009 15:02:21 GMT
On Aug 16, 2009, at 10:07 AM, Jan Lehnardt wrote:

> On 15 Aug 2009, at 19:02, Jason Davies wrote:
>> Do we want deletions of historical versions to be replicated too?   
>> For example, if I "permanently delete" a bunch of old versions on  
>> my local machine, and then replicate to my master server, should  
>> the master server also delete these old versions?  This would be  
>> analagous to deleting conflicting revs.  I can see that in some  
>> cases this may not be desired e.g. if someone is simply trying to  
>> free up space, and they would prefer the master server to preserve  
>> all revisions.
> Is it possible to write a validate_doc_update function that would  
> deny historical revision deletes from replicating? If yes, I'd say  
> that's the answer for a server that is designated to keep all  
> revisions.

Good suggestion, Jan.  That's sounds like the path forward to me.


View raw message