-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data loss when multiple clients update a task within one pull
sync interval (15min)
#149
Comments
It's not data loss, but it doesn't overwrite. If you change the same task concurrently it will take the most recent edit. There's an edit history that you can use to view changed data. |
where is this stored - locally on the device that gets overwritten? or on the server (probably not, setting up a new phone with etesync provider + tasks.org app, changelog doesn't have any history?) if this is true, then yes in sense it's "recoverable" but requires navigating two apps (one is a background "app" (the etesync provider) that is intended to be fully transparent to users? Does this same hole exist in calendar sync? I think tasks (like grocery list) get updated more by multiple devices, but it's still concerning? |
On the server, you have the full history for everything in EteSync. Yeah, it's annoying, I'm not sure what's the right way of solving it to be honest other than trying to have smart diffing and merging. |
In the general text document case, i'd agree with you. However, operating with knowledge of a line being a
both of these DO clearly involve Product Req tradeoffs but critically IMHO:
** if i'm adding data to a TODO list, and the data |
it doesn't appear there is any attempt made at merge / automatic conflict resolution (ok, that's hard in the general case) - but also no checks to prevent updates from smashing each other?
Since the shortest
pull
interval is15 min
- this is a massive "race condition". Using two android devices as an example:pull
background sync'd and thus has not picked up ^ does the same. Now that update appears to completely overwrite the state on the server; appears to just blindly save the whole new updateauto pull
interval ... and the data it added is fully lostI have seen this on both task entries as well as task lists themselves (both are just a text ~file it appears, treated with the same race condition for updates?)
Thank you, paid cloud customer
The text was updated successfully, but these errors were encountered: