[ZODB-Dev] _p_resolveConflicts

Randall F. Kern randy@spoke.net
Thu, 2 Aug 2001 12:55:49 -0700


OH!  That would be it then :(

So is there any way (other than using an external storage medium) to
write a counter that will never cause a retry?  It's a major hotspot in
my system.

-Randy

> -----Original Message-----
> From: Jim Fulton [mailto:jim@digicool.com]
> Sent: Thursday, August 02, 2001 12:51 PM
> To: Randall F. Kern
> Cc: zodb-dev@zope.org
> Subject: Re: [ZODB-Dev] _p_resolveConflicts
>=20
>=20
> "Randall F. Kern" wrote:
> >=20
> > Although my hook (_p_resolveConflicts) is called and is=20
> returning the
> > proper state, the transactions are still being retried :(
> >
> > Does the default FileStorage in Zope 2.4.0 support conflict=20
> resolution
> > or not?=20
>=20
> It does.
>=20
> Note that conflict errors can be detected when reading data.
> Conflict resolution cannot resolve conflicts detected when
> reading.  :(
>=20
> We need to add full support for "multi-version concurrency
> control", which will allow us to avoid read conflicts by
> reading non-current but consistent data.=20
>=20
> Jim
>=20
> --
> Jim Fulton           mailto:jim@digicool.com   Python Powered!       =20
> Technical Director   (888) 344-4332            http://www.python.org =20
> Digital Creations    http://www.digicool.com   http://www.zope.org
>=20