From: <boe...@ht...> - 2009-12-13 14:54:30
|
Hi all, I'm writing a sync plugin for v0.22 but got a problem understanding the UIDs. Assuming a group is newly set up with two plugins and a slow sync is started. How can plugin A set an UID to a OSyncChange in get_changeinfo() without knowing what UIDs plugin B is going to use for its changes? How can I avoid collisions there? Can I just increase the highest, locally known UID for a new entry with status CHANGE_ADDED? And do I have to reset the UID counter back to 0 when a slow-sync is requested? Regards, Eric |