[ZODB-Dev] Storage API corner cases

Toby Dickenson tdickenson at geminidataloggers.com
Fri May 30 18:08:07 EDT 2003


On Friday 30 May 2003 16:19, Jeremy Hylton wrote:

> BTW it's official policy that you should never intentionally check in a
> test case that is known to fail.  Other approachs include fixing the
> code that fails before checking it in, checking in on a branch,
> disabling the test for the failing code.  (Probably in order of
> preference.)

Sure. Sorry for the error.

toby-getserial-branch has a fix for FileStorage that adds a little more code 
to getSerial.

Another option is to delete the getSerial method, and rely on the base class 
implementation that delegates to load(). This is simpler, but will cost a 
little performance of ZEO cache validation. Which is preferred?

-- 
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson



More information about the ZODB-Dev mailing list