Chris Withers wrote at 2008-8-16 23:09 +0100:
>How important is it that they're strictly incremental?
>If it is, you may want to look at the BTrees.Length module.
"BTrees.Length" is unfit for the generation of unique ids, as
it may hand out the same id to concurrent transactions.
Other solution may do this as well but for them a "ConflictError"
may be risen at transaction commit in this case.
The "BTrees.Length"'s conflict resolution prevents such a "ConflictError".
"Btrees.Length" might be used *PROVIDED* that the conflict
is recognized at another place (e.g. by a folder that stores
objects with the generated ids). But that are special cases.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -