[ZODB-Dev] undo and zodb

Jim Fulton jim@zope.com
Tue, 03 Sep 2002 10:22:53 -0400


Barry A. Warsaw wrote:
>>>>>>"TD" == Toby Dickenson <tdickenson@geminidataloggers.com> writes:
>>>>>>
> 
>     TD> No, and that sucks. I am considering extending
>     TD> DirectoryStorage.Full with an automatic background packing
>     TD> process that uses per-object history-level settings. This will
>     TD> be useful in this scenario plus many more.
> 
> Do you have an API in mind for that?  I've been hacking on Autopack, a
> very simple and minimal Berkeley storage with no undo or versions.  It
> would still store some number of object revisions for a short period
> of time, primarily for performance reasons.  It has an autopack()
> method, but I'm still teasing out the semantics of that.  The idea
> would be to have a storage-wide setting controlling how far back
> transactions would be kept, although you wouldn't be able to access
> those older transactions through the api.

But you *would* be able to access old data using loadSerial, wouldn't you?
Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org