[ZODB-Dev] blob todos

Jim Fulton jim at zope.com
Fri Jun 8 13:21:12 EDT 2007


On Jun 8, 2007, at 1:15 PM, Christian Theune wrote:

> Hi,
>
> Am Freitag, den 08.06.2007, 13:13 -0400 schrieb Jim Fulton:
>> FileStorage doesn't play anything forward on startup.  It does throw
>> away partial or uncommitted transactions.  I don't see any
>> significant harm in leaving extra blob files around and they would
>> eventually be removed through packing.   We do need to take a little
>> extra care in the packing code to deal with this possibility though.
>
> So I can just remove this todo?

Sure.  Although, it would be nice to add a todo inside the pack  
method, which wants to be refactored, to take the possibility of  
extra files for uncommitted transactions into account.  The current  
wildly inefficient blob pack algorithm would not have a problem, but  
likely refactorings would.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the ZODB-Dev mailing list