[ZODB-Dev] deadlock prevention for ZODB3 / Zope 2.6

Steve Alexander steve@cat-box.net
Tue, 19 Nov 2002 17:17:56 +0000


>
> We intend to include this change in Zope 2.6.1.  Note that the log
> message warns of a potential problem, but nothing should actually
> break.  It looks like ZPsycdopgDA's data manager (_p_jar) inherits
> from Shared.DC.ZRDB.TM.  It may be necessary to add a sortKey() method
> to this base class.
>
> My one worry is that it probably isn't possible to pick a good
> sortKey() in the base class.

Why not just the string of the object id?

The sortKeys only have to be valid over the course of one transaction, 
right?

--
Steve Alexander