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

Issue when device low on storage #6954

Closed
jamie7893 opened this issue Dec 19, 2017 · 2 comments
Closed

Issue when device low on storage #6954

jamie7893 opened this issue Dec 19, 2017 · 2 comments

Comments

@jamie7893
Copy link

jamie7893 commented Dec 19, 2017

screen shot 2017-12-19 at 11 13 50 am

Issue

When a IOS device is low on storage, pouch stops working, the errror in the console says "LOADED DOMException: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.

Info

  • Environment: (Node.js/browser/hybrid app/etc.)
    Mac Book Pro IOS 10.12.6

  • Platform: (Chrome/FF/Safari/Edge/iOS/Android/etc.)
    Chrome - Version - 63.0.3239.84

  • Adapter: (IndexedDB/WebSQL/LevelDB/etc.)
    IndexedDB - requested 50MB

  • Server: (CouchDB/Cloudant/Couchbase/PouchDB Server/etc.)

Reproduce

Fill up the storage of the device, until you get the 'Your disk is almost full' message (I had around 3GB left), refresh chrome, and try to access the database. Clearing up space makes the issue go away, and everything works fine. We have had this problem reported on multiple IOS devices as well.

this.db.get(documentId).then(function (result) {
console.log(result)
}).catch(function (err) {
console.log(err);
});

@daleharvey
Copy link
Member

Fixed in e7790ac

@gbtec-michaelhoppe
Copy link

Hey @daleharvey,

any idea when this fix will be released?

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

3 participants