[ZODB-Dev] _p_resolveConflicts
Jim Fulton
jim@zope.com
Fri, 03 Aug 2001 09:40:17 -0400
Chris Withers wrote:
>
> Jim Fulton wrote:
> >
> > No. I recommend generating random ids. That's what we do
> > in the Catalog now.
>
> How do you ensure they're unique?
We check if the catalog already uses the id. If it does,
we pick another. We rely on consistency in the transaction system
to deal with concurrency.
Jim
--
Jim Fulton mailto:jim@digicool.com Python Powered!
Technical Director (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org