pouchdb / pouchdb

:kangaroo: - PouchDB is a pocket-sized database.
https://pouchdb.com/
Apache License 2.0
16.87k stars 1.47k forks source link

Am I doing something terribly wrong or is PouchDB 8 not saving data quickly or reliably? #8950

Open risharde opened 5 months ago

risharde commented 5 months ago

Issue

I've implemented a PouchDB database in the browser (it's an Android webview). I get very strange / unreliable results. For example, when I save data for example strings to the database, the .get function sometimes returns all, sometimes it literally misses puts (retrieves less than what was inserted). I thought maybe I made a mistake with my code, but strangely enough, if I close my app, reopen it which opens back the database, it has even less strings saved. This was intended to be used entirely within browser and no sync. Would that be why my results are inaccurate?

Info

Reproduce

Issues that others can reproduce are far easier to fix, we have a website that may help you provide a live example of the bug @ https://pouchdb-bug-helper.glitch.me/

janl commented 5 months ago

without sample code, we can’t possibly debug this. PouchDB generally is very reliable and has been for a long time