Closed
Bug 1918036
Opened 1 year ago
Closed 1 year ago
IDB: Add a test for rapid addition and deletion of blobs
Categories
(Core :: Storage: IndexedDB, task, P3)
Core
Storage: IndexedDB
Tracking
()
RESOLVED
FIXED
132 Branch
| Tracking | Status | |
|---|---|---|
| firefox132 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
Details
Attachments
(1 file)
Add a stress test which rapidly adds and deletes blobs in a row in separate transactions. Internally, blobs are only removed when all memory and database references drop to zero. At that point an asynchronous delete operation is scheduled which removes the backing file from disk. So the overall behavior and timing depends on cycle collection and garbage collection. The main goal of the new test is to make it more likely that internal structures are accessed by multiple threads at the same time, potentially discovering races or other issues. Note that the test needs to always create a new blob and a new transaction, otherwise new backing files wouldn't be created due to internal optimizations for de-duplication.
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
Summary: IDB: Add a disabled test for rapid addition and deletion of blobs → IDB: Add a test for rapid addition and deletion of blobs
| Assignee | ||
Updated•1 year ago
|
No longer blocks: CVE-2024-10468
Depends on: CVE-2024-10468
Updated•1 year ago
|
Attachment #9424074 -
Attachment description: Bug 1918036 - IDB: Add a disabled test for rapid addition and deletion of blobs; r=#dom-storage → Bug 1918036 - IDB: Add a test for rapid addition and deletion of blobs; r=#dom-storage
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/83b7fc93a125
IDB: Add a test for rapid addition and deletion of blobs; r=dom-storage-reviewers,asuth
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox132:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•