Skip to content

[Onyx] Investigate UnknownError: Internal error opening backing store for indexedDB.open. storage error #87862

@fabioh8010

Description

@fabioh8010

Coming from #87844.

Summary

Let's investigate the following Onyx storage error: UnknownError: Internal error opening backing store for indexedDB.open., which accounts for 884,955 (26.3%) of the 3,364,645 analysed errors during a time span of 1 month. Full details about the investigation and methodology are in #87844.

Platforms Top Methods
Desktop Chrome (664K), Desktop Edge (220K) setWithRetry (682K), multiSetWithRetry (181K)
Retries Exhausted Evictions No Eviction Quota Checks >= 95% Full Mean % Full Quota Check Failed
147,944 0 0 0 0
  • No eviction or quota check events — this is an IndexedDB internal failure unrelated to storage space
  • This error is not classified as a storage capacity error in Onyx (STORAGE_ERRORS only includes QuotaExceededError for IDB), so it never triggers the eviction flow — it just retries immediately and fails repeatedly
  • Likely caused by corrupted IndexedDB state, browser extensions interfering, or Chromium-level bugs

Action Items

  • Investigate with Sentry, VictoriaLogs and Fullstory to understand user scenarios where this happens — is there a common pattern (e.g., specific pages, actions, or browser versions)?
  • Consider adding retry backoff for this error. Currently retries are immediate with no delay, and 147K requests exhausted all retries. A delay could give the browser time to recover the backing store. (being handled here -> Add retry backoff for connection errors in OnyxUtils.retryOperation #87782)

Issue OwnerCurrent Issue Owner: @leshniak

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status

HIGH

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions