-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
database.remove() doesn't remove IndexedDB local documents #3319
Comments
Thank you for reporting. Fixed in the attached commit. |
Thank you for fixing, much appreciated |
I have installed 10.0.3 and the pull checkpoint still persists after Is there a way to get the list of the pouch IndexedDB databases? I would like to erase everything, regardless of |
I am not sure how to get all indexeddb databases. |
I see in the storage explorer that RxDB created IndexedDB databases for both version 0 and version 1 of my schema (currently set to version 1 in the schema file). Is that intentional? I think it has something to do with it because the graphql pull checkpoint is set in the version 0 database. This was a fresh DB so it's not something that carried from old data. |
RxDB since version 10 creates a separate IndexedDB for local documents and 'normal' documents. |
Case
Bug
Issue
GraphQL replication tried pulling new documents even after I ran
db.remove()
. Using the storage inspector in Firefox I could see the pull checkpoints were still there. I also suspect other local documents remain, but didn't have time to test.In most browsers I can use
IndexedDB.databases()
to enumerate and delete them all manually. Does anyone know of a workaround for Firefox?Info
The text was updated successfully, but these errors were encountered: