[ZODB-Dev] ZODB blob mini-sprint

Chris McDonough chrism at plope.com
Wed Jun 15 01:41:11 EDT 2005


A bit of status on the progress of blobs... we need do some a small bit
of cleanup and create a few more tests, but that said, I think we'd be
pretty much ready to do a merge to the ZODB HEAD at once we take action
on these outstanding issues:

- I'd like to allow for a "read only" blob cache directory, so folks
  can mount the "canonical" directory containing blobs from the ZEO
  server onto the ZEO clients.  I think this feature could be
  totally optional, so if no one has any indignity over the idea itself,
  I  can just add it.

- We need to deal sanely with missing data in blob directories in
  a number of places. "Sane" means not causing a ZODB PANIC exception
  when attempting to load nonexistent data files (they may have been
  deleted or moved by a user for whatever reason).

- Figure out how to clean out "non-read-only" ClientStorage blob cache
  every so often.  Right now it just grows without bound.

- Think hard about what it means to fail in the middle of the
  last phase of a transaction involving blobs.  What should the 
  BlobStorage do when it starts up next?  How do we detect
  that the transaction was half-committed?  I hope Toby's last
  message didn't imply that our current implementation is
  totally naive.

- Simple: we need to log loudly when files are "renamed"
  across partitions and we need to test BlobStorage.getSize.

- Test on Windows.

Christian may think of some other issues.  In particular, something
about importing "backwards compatible" ZEXP files (sorry Christian, I
didn't understand that...)

Once we work this stuff out, should I just merge into the svn HEAD or is
there further svn ceremony that should happen?

On Sat, 2005-06-11 at 12:14 +0200, Christian Theune wrote:
> Hi,
> 
> I'm awake now and waiting for the U.S. citizens (especially chrism) that
> are interested in the ZODB blob stuff to get up later and come to IRC on
> #zodb-dev to discuss the tasks on hand, especially test cases to
> implement.
> 
> Cheers,
> Christian
> 
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
> 
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev



More information about the ZODB-Dev mailing list