credentials | device | collection_id | analysed_sync_collection
--------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{"password":"toto","user":{"displayName":"iphone","domain":"obm14.lyn.lng","email":"iphone@obm14.lyn.lng","login":"iphone"}} | {"databaseId":3,"devId":{"deviceId":"ApplDNRH7C5UDP0N"},"devType":"iPhone","hints":{"hint.multipleCalendars":"false","hint.loadAttendees":"true"},"protocolVersion":"V121"} | 19 | {"changes":null,"collectionId":19,"collectionPath":"obm:\\\\iphone@obm14.lyn.lng\\contacts\\-1:users","commands":{},"dataType":"CONTACTS","deletesAsMoves":null,"options":{"bodyPreferences":[{"allOrNone":false,"truncationSize":32768,"type":"PlainText"}],"conflict":1,"deletesAsMoves":true,"filterType":"THREE_DAYS_BACK","mimeSupport":null,"mimeTruncation":null,"truncation":9},"status":"OK","syncKey":{"syncKey":"c46da2b2-e874-4dd8-9e86-ab9e33b3aa64"},"windowSize":25}
This code is triggered for almost any synchronization.
We should ensure that the live migration is really well behaving by :
1/ having opush 3.0 running on one server
2/ install opush 3.0.1-rc on another server
3/ check that 3.0.1 does not allow synchronization
4/ upgrade schema via 3.0.1 crash console
5/ check that opush 3.0.0 still works
6/ restart opush 3.0.1
7/ both servers should allow syncing