[ZODB-Dev] Preventing a folder from being packed

Jeremy Hylton jeremy at zope.com
Thu May 15 19:13:39 EDT 2003


On Thu, 2003-05-15 at 13:58, sean.upton at uniontrib.com wrote:
> But this also puts burdens on the app developer to get the txn metadata
> right... one slipup in get_transaction().note(), and things are a mess?
> Perhaps this is a bit over-dramatic...

I think it is a bit over-dramatic :-).  Presumably the application
support would make this automatic.  The data manager knows which objects
have the keep-revisions flag set and updates the txn extended meta data
appropriately.  (I wasn't thinking it would be in the note, but in the
extended metadata.)  I suppose the metadata could record exactly which
objects were involved, so there wouldn't be any problem of mixing
keep-revisions and normal-revisions objects.

Jeremy





More information about the ZODB-Dev mailing list