On Wed, 2012-03-28 at 08:33 +0200, Thierry Florac wrote:

> I used this feature just a few days ago.
> It was in a batch application where conflict errors can frequently
> occur, and they **seemed** to be handled correctly.

I doubt it's working correctly if you have any retryable errors
happening during commit.

> My only problem is that I had to add a "break" at the end of my "for"
> loop. Otherwise the transaction was committed several times and the mail
> report which was sent at the end of the batch was also sent several
> times... Did I missed something ? Otherwise perhaps the 'transaction'
> package documentation should be updated ??

Not sure what you'd say there.. "a for loop has to be broken out of for
the for loop to not loop"? ;-)

- C

For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to