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

Wrong order of changes Dexie.Observable/Syncable when using sub transactions #75

Closed
dfahlander opened this issue Mar 13, 2015 · 0 comments

Comments

@dfahlander
Copy link
Collaborator

No description provided.

dfahlander added a commit that referenced this issue Mar 13, 2015
Wrong order of changes Dexie.Observable/Syncable when using sub
transactions.

Redesigned Dexie.Observable to add the changes in the same tick as the
CREATE/UPDATE/DELETE  operation is taking place instead of waiting for
this.onsuccess. Reason is that transaction may be locked when
this.onsuccess is triggered, resulting in that the change revision is
added later than it should have beem and occur after other changes that
actually occurred later.
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