[ZODB-Dev] ZEO and commits
Christian Robottom Reis
kiko at async.com.br
Tue Oct 28 08:29:58 EST 2003
On Tue, Oct 28, 2003 at 01:41:42PM +0100, Antonio Beamud Montero wrote:
> The object hasn't a _p_resolveConflict because is the root object, it
> only has methods like dictionary has and not like Register object
> has...
You've run into a ZODB fact: the root object can't handle conflicts.
If the question is `What can you do?', the answer is simple: avoid
generating conflicts in it :-)
Seriously, avoid storing more than your high-level containers (use
BTrees if you need a hash-like structure with reduced conflicts, for
instance, or your own instances if you need something more specialized)
in the root. Your containers can then handle conflicts however you like.
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
More information about the ZODB-Dev
mailing list