Handle IDBTransaction durability hints
Categories
(Core :: Storage: IndexedDB, enhancement, P3)
Tracking
()
| 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.
| Assignee | ||
Comment 1•1 year ago
|
||
My initial testing shows that PRAGMA synchronous = OFF greatly improves performance on some hardware.
| Assignee | ||
Comment 2•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
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.
| Assignee | ||
Updated•1 year ago
|
Comment 5•1 year ago
|
||
| bugherder | ||
Description
•