jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Damioli <cedric.dami...@anyware-tech.com>
Subject Re: [jira] Commented: (JCR-134) Unreferenced VersionHistory should be deleted automatically.
Date Tue, 12 Dec 2006 08:53:28 GMT
Paul J DeCoursey a écrit :
> Cédric Damioli (JIRA) wrote:
>>     [ 
>> http://issues.apache.org/jira/browse/JCR-134?page=comments#action_12457455 
>> ]             Cédric Damioli commented on JCR-134:
>> ------------------------------------
>>
>> The VH need only to be kept when there are remaining Version attached 
>> to it.
>> In many apps, it would be great to get rid of empty VH (ie no more 
>> Version, and no more Node referencing it).
>>   
> This doesn't seem right to me.  Kind of defeats the purpose of 
> Versioning if we start removing deleted items, deleted is just another 
> state in the history that should be tracked and preserved.
>
Deleting Versions means actually deleting these history states.
Its no more than an administrative task, which in some cases may be very 
useful, eg. to maintain the repository as small as possible, or to keep 
only important versions (up to the app, of course).
The point of this JCR-134 issue is only that when there is no more 
Version in the VH (they have all been deleted) and no more Node in any 
workspace referencing this VH, there should be a way to also delete the 
VH, which can't be useful anymore.

Regards,
Cédric

Mime
View raw message