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

Fix Document update conflict error #531

Merged
merged 1 commit into from Sep 29, 2018
Merged

Commits on Sep 24, 2018

  1. Fix Document update conflict error

    Fixes #527
    Fixes #528
    
    We were not correctly updating the PouchDB documents. There is a required ceremony of updating `_rev` that we were not doing. I think the issue only first showed up now as IndexedDB either got faster or something changed internally with the Electron 3 upgrade.
    
    See: https://pouchdb.com/guides/updating-deleting.html
    
    I'm using `pouchdb-upsert` which handles some of the complications of updating a document.
    sindresorhus committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    11ab441 View commit details
    Browse the repository at this point in the history