|
Re: conflict resolution for PersistentList: msg#00123web.zope.zodb
> class ConflictPersistentList(PersistentList): > def _p_resolveConflict(_, oldState, savedState, newState): > print "resolving" > print oldState, newState > return oldState Hi Diez B. Roggisch and other, I would not store data in a persistent list. As far as I know the data is stored in a python list. Every time you change it self._p_changed is set. This means all data in the list is part of the transaction. Your database will grow fast. Try to use btrees. BTrees have conflict resolution and not the whole "list" needs to be stored if it gets changed. Regards, Thomas _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx http://mail.zope.org/mailman/listinfo/zodb-dev |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Hot sales growth signals greater price increases on the horizon: 00123, Jacques Wooten |
|---|---|
| Next by Date: | RE: conflict resolution for PersistentList: 00123, Tim Peters |
| Previous by Thread: | Re: conflict resolution for PersistentListi: 00123, Diez B. Roggisch |
| Next by Thread: | RE: conflict resolution for PersistentList: 00123, Tim Peters |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |