[ZODB-Dev] Unique Object ID

Christian Reis kiko at async.com.br
Tue Jun 10 10:01:33 EDT 2003


On Mon, Jun 09, 2003 at 04:26:36PM -0400, Casey Duncan wrote:
> _v_nextuid defaults to None using a class attribute. For a single thread, this 
> will tend to cluster uids sequencially so they don't touch as many buckets.  
> Since _v_ attrs are thread specific, each thread willbe working from a 
> different base uid.

As Jeremy pointed out, doesn't this raise the chance of getting
unhandled ConflictErrors in the BTree we store the objects in?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL



More information about the ZODB-Dev mailing list