[ZODB-Dev] another reason to stop supporting versions

Christian Theune ct at gocept.com
Wed Apr 25 02:29:43 EDT 2007


Hi,

Am Dienstag, den 24.04.2007, 17:01 -0400 schrieb Jim Fulton:
> I'm 99.9% sure that version commit and abort are broken in ZODB.DB.   
> The commit methods in CommitVersion, and AbortVersion (and  
> TransactionalUndo) call invalidate on the databse too soon -- before  
> the transaction has committed.  This can have a number of bad  
> effects, including causing inconsistent data in connections.
> 
> An argument for keeping version in the past was that they "worked".   
> Well, I think they don't work and I'm not interested in writing the  
> test to fix them.  Is anyone else?

Nope. However. We deprecated versions in Zope 2 a while ago disabling
the ability to add new versions but keeping existing versions alive.

We have to tell people what to do before the next update of Zope that
includes this change so they do not get locked out of existing data.

Unfortunately we have no numbers on how many people use versions. I
think I'll raise that question on Zope users and the German users list
to get a feeling on how many people react.

Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20070425/abec2fbc/attachment.bin


More information about the ZODB-Dev mailing list