[ZODB-Dev] Re: Cleaning up storage interfaces

Tres Seaver tseaver at palladion.com
Wed Apr 25 00:10:35 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Theune wrote:

> Am Dienstag, den 24.04.2007, 13:16 -0400 schrieb Jim Fulton:
>> I'm finally trying to clean up the storage interfaces.  I have a  
>> question.  I'll probably have more later, but I'm going to deal with  
>> them one by one rather than trying to save them up.
>>
>> Does anyone know if getSerial is used for anything?  I suspect that  
>> it is an old name for getTid and would like to remove it in favor of  
>> getTid.
>>
>> In particular, it's plumbed through the storage and client servers,  
>> but I can't see any evidence that people are using it.
> 
> Hmm. Looks like it. getTid looks like it's used from ZEO in the
> verify() method. I didn't find any place where getSerial was used.
> Zope 3 uses neither (and it probably shouldn't anyway.)

DirectoryStorage[1] is probably the major "out-of-tree" storage
implementation to check;  PGStorage[2] is likel a distant second in
terms of usage:

[1] http://dirstorage.sourceforge.net/

[2] http://hathawaymix.org/Software/PGStorage/


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLtS7+gerLs4ltQ4RAvn7AJ98Wgm7D/EbA3YS/A/gbJ5bKjbR5QCgtuyv
tX4is0ClS1zf1Pa6Oc2RwkE=
=I2S0
-----END PGP SIGNATURE-----



More information about the ZODB-Dev mailing list