durusmail: durus-users: [PATCH] Limited conflict resolution
[PATCH] Limited conflict resolution
[PATCH] Limited conflict resolution
2006-10-10
2006-10-10
[PATCH] Limited conflict resolution
David Binger
2006-10-10
On Oct 9, 2006, at 10:25 PM, John Belmonte wrote:

> Attached is an experiment which adds limited conflict resolution to
> Durus.

Interesting.  Some initial questions:

Could the ordinary bulk_load protocol be used
instead of using the sign of the number as a flag?
Maybe the client could send an extra byte indicating
that no load is required before sending the records.

Could this be implemented with a subclass of Persistent
instead of changing PersistentBase?

deepcopy seems like a potential hazard.  Maybe the classes
that implement _p_resolve() should also define another method
that saves a copy of the current state as needed for conflict
resolution.




reply