> > We could potentially count the clients records and only restore users with > a single client. >
I worry about client records having been TTLed, which makes this measurement inaccurate. (Check and see how many accounts have zero client records!) I feel that restoring an earlier point in time is something that Sync won't handle well at all, particularly tracker-based or change-count-based engines — they are built to record changes since the last sync and upload them once, not to generate arbitrary deltas against a historical state. Populating the server with an earlier snapshot will cause existing live clients to get confused (if you preserve syncIDs), or they'll wipe the server (if you don't), which defeats the point. You could try to make client changes to do a no-wipe full sync if the timestamp moves backwards in time, but as Mark notes that will cause misbehavior around deletions (and other changes, I expect), and only one client will see the timestamp move backwards in time, so weird things will happen.
_______________________________________________ Sync-dev mailing list Sync-dev@mozilla.org https://mail.mozilla.org/listinfo/sync-dev