Closed Bug 1883045 Opened 1 year ago Closed 1 year ago

Handle IDBTransaction durability hints

Categories

(Core :: Storage: IndexedDB, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: jari, Assigned: janv)

References

Details

Attachments

(1 file)

To be consistent with the old behavior and to ensure correctness, the "relaxed" IDBTransaction durability hint was not implemented in the context of 1878143.

This bug asks for mapping the "OFF" option of pragma_synchronous to the "relaxed" durability: the "NORMAL" option would remain mapped to "strict"/"default" (we use WAL).

The possible extensions to "strict" durability in case of a power loss are out of scope.

My initial testing shows that PRAGMA synchronous = OFF greatly improves performance on some hardware.

Assignee: nobody → jvarga
Status: NEW → ASSIGNED
Summary: Handle relaxed IDBTransaction durability hint → Handle IDBTransaction durability hints
Attachment #9391682 - Attachment description: WIP: Bug 1883045 - Handle strict and relaxed IDBTransaction durability hint → Bug 1883045 - Handle IDBTransaction durability hints; r=#dom-storage

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:janv, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(jvarga)
Flags: needinfo?(jjalkanen)
Flags: needinfo?(jvarga)
Flags: needinfo?(jjalkanen)
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4522e9c7c2ca Handle IDBTransaction durability hints; r=dom-storage-reviewers,jari
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: