[ZODB-Dev] Historical revisions in ZODB
hazmat
hazmat@objectrealms.net
Mon, 31 Mar 2003 11:34:18 +0200
how would this differ from the application level zope version control
http://cvs.zope.org/Products/ZopeVersionControl
?
-haz
Chris Withers wrote:
> Dieter Maurer wrote:
>
>> I will implement "edition"s for HCFileStorage.
>>
>> The base concept it an object "HistoryReference" that
>> references an object (identified by an "oid") at a given
>> time (identified by "serial"). Packing will not release
>> records when they are directly or indirectly referenced
>> by a "HistoryReference".
>> This will make packing more expensive. I expect a 50 % increase
>> in time and memory.
>>
>> An edition is a collection of "HistoryReferences", effectively
>> freezing the state of objects referenced from the edition
>> at a given time. The "HistoryReference" mechanism protects
>> this state against packing.
>
>
> It would be very cool to see this in the default FileStorage
> implementation...
>
> cheers,
>
> Chris
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list - ZODB-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev