Closed Bug 915286 Opened 8 years ago Closed 7 years ago

[clock] Support IndexedDB version wrapping around 2^53-1

Categories

(Firefox OS Graveyard :: Gaia::Clock, enhancement)

All
Gonk (Firefox OS)
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: oconnore, Assigned: oconnore)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
Details | Review
When upgrading and downgrading the indexedDB API, we use "effective" version numbers stored in the "__effectiveVersion__" objectStore. IDB version numbers are used virtually to trigger upgrades.

Currently, if the IDB version number hits 2^53-1, no more upgrades/downgrades can take place. We should patch the IDB wrapper to allow for infinite upgrades/downgrades.
Attached file github PR
Attachment #803153 - Flags: review?(mike)
Attachment mime type: text/plain → text/x-github-pull-request
Bug cleanup: closing as we've trended toward a minimalistic IndexedDB wrapper.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Attachment #803153 - Flags: review?(mike)
You need to log in before you can comment on or make changes to this bug.