Skip to content
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

DataProcessor data loss issue #341

Open
k8n opened this issue Apr 22, 2021 · 0 comments
Open

DataProcessor data loss issue #341

k8n opened this issue Apr 22, 2021 · 0 comments

Comments

@k8n
Copy link

k8n commented Apr 22, 2021

DataProcessor fails to call the API with an update when a prior update operation for the item with the same ID is currently in-flight.

if (tosave._in_progress) continue;

This is especially problematic when working with a datatable with the autoupdate on over an unreliable or slow network connection.

Suppose a datatable update results in an API call to update the backend. Suppose the API call is delayed and takes 2 seconds to complete. If another update event comes from the datatable while this API call is in flight, Webix will ignore the update, will not commit the change to the backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant