[Zope] Re: Florent Guillaume's database Conflict Error on session objects patch not working ?

Tres Seaver tseaver at palladion.com
Fri Feb 2 09:11:48 EST 2007


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

yacine chaouche wrote:
> Hi all,
> 
> As discussed  here :
> http://mail.zope.org/pipermail/zope/2007-January/170151.html
> and continued here :
> http://mail.zope.org/pipermail/zope/2007-January/170156.html
> 
> I am experiencing issues regarding a database ConflictError on session objects.
> 
> I use zope 2.9.0 python 2.4.2, and the code of the MultiDB support has
> been patched (as suggested by Florent Guillaume)
> http://mail.zope.org/pipermail/zodb-dev/2006-January/009737.html
> 
> My main concern is to debug my application where, on every couple of
> requests coming from two different browsers at the same time (before
> the first request is , one of them wins and the other always fails and
> raises a conflict error. It is not a ReadConflictError, nor a
> WriteConflictError. It is a "ConflictError: database conflict error".
> I am aware that conflicts occure up to 20% of the time, but in my case
> it is almost 100% in this specific situation !
> 
> If I do not use the session object in my code, I have no errors at all
> and everything just goes fine.
> 
> Any idea on how to debug this ? Florent, maybe ?  someone help me ! I
> am stuck on this for 2 weeks now.
> 
> NOTE : I do not use Zeo, nor frames.

You might try 'faster', an alternative ZODB-based sessioning
implementation:  one of its goals is to reduce the chance of collisions
compared to the stock implementation:

  http://agendaless.com/Members/tseaver/software/faster/


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.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFw0aj+gerLs4ltQ4RAuDLAJ9VXpLtmnr5EwYMV1AkS1Gxa0lvmwCgoGIv
hkn26PUMSmmBKO8nDYFdmkU=
=n+Qz
-----END PGP SIGNATURE-----



More information about the Zope mailing list