synching over different time zones

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Post Reply
wimneel
Posts: 32
Joined: May 6th, 2017, 5:31 am

synching over different time zones

Post by wimneel » April 7th, 2021, 2:41 pm

A question.
When synchronizing with the server, using CSWeb, only newer and modified cases are synched. How does CSWeb decide if a case is "newer"? Does this involve the system time of the server? If so, what if the enumerators and their tablets are in one time zone and the server in another?

Gregory Martin
Posts: 1418
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: synching over different time zones

Post by Gregory Martin » April 8th, 2021, 11:42 am

Modification dates are never using in synchronization, in part because it was assumed that the date/time information of enumerators tablets would not be reliably set. Instead, we use something called a "vector clock." See here for information about how it works:

https://www.csprousers.org/forum/viewto ... 733#p12738

wimneel
Posts: 32
Joined: May 6th, 2017, 5:31 am

Re: synching over different time zones

Post by wimneel » April 9th, 2021, 7:29 am

Thanks for that information, Gregory.
Conclusion: date, time and timezone have no influence at all on the synching process. Correct?

Gregory Martin
Posts: 1418
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: synching over different time zones

Post by Gregory Martin » April 12th, 2021, 9:07 am

Correct. Date, time, and the time zone are not used by the synchronization routines to determine what cases to sync.

Post Reply