[ZODB-Dev] Commit seems to succeed but does'nt

Steve Alexander steve@cat-box.net
Wed, 26 Sep 2001 14:47:42 +0100


Cyril Elkaim wrote:

>         Hi Zopistas,
> 
>     The following code brings us problems. If one of the two jobs must 
> retry its transaction.commit, this commit SEEMS to succed but, in fact, 
> the data is not saved on the disk. Has, someone, a clue of what happens 
> there?


If you get a conflict error, you need to retry the whole transaction 
(all the changes you made), not just the commit statement.

--
Steve Alexander
Software Engineer
Cat-Box limited