[ZODB-Dev] Question about BTree transaction data

Pascal Peregrina Pperegrina at Lastminute.com
Thu Apr 13 06:20:55 EDT 2006


Well, I am not dealing with conflict resolution.
It's something much more complex, and for this I need to be able to compute added/deleted BTree keys from the ZODB data.
Nasty I know :)

Pascal

-----Message d'origine-----
De : zodb-dev-bounces+pperegrina=lastminute.com at zope.org [mailto:zodb-dev-bounces+pperegrina=lastminute.com at zope.org] De la part de Chris Withers
Envoyé : jeudi 13 avril 2006 10:17
À : Dieter Maurer
Cc : Pascal Peregrina; zodb-dev at zope.org
Objet : Re: [ZODB-Dev] Question about BTree transaction data

Dieter Maurer wrote:
> Pascal Peregrina wrote at 2006-4-12 08:35 +0100:
>> I use FileStorage (via ZEO).
>>
>> I have switched a big dictionary from PersistentMapping to BTree.
>>
>> In the past, it was easy to compute added/deleted keys from states (cause PersistentMapping state contains the whole dictionary, so it was only a matter of getting the keys and comparing them with previous state keys).
> 
> What do you mean by "state"?
> What you get with "obj.__getstate__()"?

I'd hazard a guess that Pascal is trying to write conflict resolution 
code. BTrees already have conflict resolution code. I'm not sure it can 
be improved upon.

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev at zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the ZODB-Dev mailing list