amazon-archives / amazon-cognito-js

Amazon Cognito Sync Manager for JavaScript
http://aws.amazon.com/cognito
Apache License 2.0
202 stars 83 forks source link

Sync operation hangs if syncing an empty dataset #49

Open adambiggs opened 7 years ago

adambiggs commented 7 years ago

When calling synchronize() on a dataset after all records have been removed, none of the callbacks are called and the operation hangs.

adambiggs commented 7 years ago

For clarification, this doesn't seem to be an issue with new datasets that haven't had any records added yet. It's only an issue with datasets where all records have been deleted.