[ZODB-Dev] Several commits and ZEO

Thomas Güttler tguettler at tbz-pariv.de
Tue Jan 13 03:53:14 EST 2004


Hi!

If I import data like this:
for ...:
    obj=MyObject(...)
    objects[obj.id]=obj
    #get_transaction().commit()

There is data loss if I commit in the loop.
If the data is imported in one transaction, no
data is lost. Even commit(1) loses data.

Testet with Python 2.3.2 and Python 2.2.2
ZODB 3.2
ZEO 2.2 (Filestorage and unix-socket)

The problem is reproducable.

No traceback does occur. 

Any hints?

  thomas
-- 
Thomas Güttler, TBZ-PARIV GmbH, Bernsdorfer Str. 210-212, 09126 Chemnitz
Tel.: 0371/5221217 Fax:  0371/5221216





More information about the ZODB-Dev mailing list