[ZODB-Dev] Blobs revisited...

Dieter Maurer dieter at handshake.de
Sat Oct 8 06:08:47 EDT 2005


Chris McDonough wrote at 2005-10-5 09:58 -0400:
> ...  savepoint difficulty ...
>Sure.  BlobStorage is a wrapper around an existing storage.  The  
>wrapped storage's connections might support savepoints, which implies  
>that they support rollback.  But supporting rollback for a  
>BlobDataManager is non-trivial because you'd need to make copies of  
>all writable blobs involved in the transaction and maintain the file  
>position state for all writeable and readable blobs in order to roll  
>back to exactly that state.

Why not make the additional wrapper transparent as
soon the object is written (i.e. directly read (and write)
from the underlying storage, once the object was modified).

-- 
Dieter


More information about the ZODB-Dev mailing list