learningequality / learningequality/studio
DatabaseClosedError: Encountered full disk while opening backing store for indexedDB.open
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 191
- Forks
- 307
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 10
Description
We should likely detect this specific scenario, and prevent repeated attempts to open the DB. It would also be helpful to surface some information to the user, as they may not have insight if the error was purely quota related.
Sentry Issue: STUDIO-G4C
QuotaExceededError Encountered full disk while opening backing store for indexedDB.open
DatabaseClosedError: AbortError UnknownError Connection is closing.
at None (/static/studio/channel_edit-cac3b745ca6475b6b22f.js:8:3062041)
at Ie (/static/studio/channel_edit-cac3b745ca6475b6b22f.js:8:3005904)
at new Ce (/static/studio/channel_edit-cac3b745ca6475b6b22f.js:8:3005400)
at $n._whenReady (/static/studio/channel_edit-cac3b745ca6475b6b22f.js:8:3061988)
at $n._transaction (/static/studio/channel_edit-cac3b745ca6475b6b22f.js:8:3067345)
...
(19 additional frame(s) were not displayed)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The payload names no source file or test; start by tracing the IndexedDB opening path from the Sentry stack and inspect handling for QuotaExceededError and DatabaseClosedError. Done means the full-disk case does not cause repeated database-opening attempts and provides useful information to the user.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100