On Dec 14, 2010, at 12:16 AM, Ferruccio Vitale wrote:

> Great! It looked that an ID changes between two slow syncs.

If your client initiated the slow sync, then this does not need to be true. If 
some other client initiated the slow sync, then your client should have picked 
up on this, and deleted its local records. The only difference between a slow 
and a push/pull-the-truth sync is the client that made the request doesn't 
participate in the opposite phase during a push/pull-the-truth sync (so if your 
client initiates a pull-the-truth sync, then your client cannot push anything).

> As I need to prevent some records from syncing, I thought that the best way 
> was:
> 1) pull the truth
> 2) track all IDs that I don't want sync anymore
> 3) refuse any other sync request which involves those IDs.
> 
> What do you think about it?

If you're prepared to delete and reset all of your records every time, then 
that's fine, though not very practical if there are thousands of records to 
pull. It might just be better to refuse the changes you don't want to pull when 
pulling.

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to