[ZODB-Dev] Commit or lock object accross transactions

Christian Reis kiko at async.com.br
Thu Jul 17 12:30:33 EDT 2003


On Thu, Jul 17, 2003 at 09:59:35AM +0300, Steve Alexander wrote:
> 
> >But you will still have orphaned ids, unless clients tell the object
> >counter that it didn't use an id and one maintains a list of orphaned
> >ids available for re-use.
> 
> In that case you'd have out-of-order ids. Would that be a problem?

If you have transactions being canceled or undone out of order, there
is no way to avoid out-of-order ids, unless you do periodic reassignment
of the IDs, which rather defeats the purpose of them to begin with.

Proposing solutions to this problem is like trying to sleep with a blanket 
that's too short.

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