Closed Bug 1619325 Opened 2 years ago Closed 2 years ago

IDB: Proper storage initialization before idle maintenance

Categories

(Core :: Storage: IndexedDB, task, P2)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: janv, Assigned: janv)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

EnsureStorageAndOriginIsInitialized is currently called during a directory scan which may interfere with the scan because EnsureStorageAndOriginIsInitialized may do a similar scan too (possibly delete some underlying files and directories).
Idle maintenance also doesn't properly call GetDirectoryMetadata2WithRestore and EnsurePersistentOriginIsInitialized before an origin directory is accessed.

Keywords: leave-open
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a0fe488e525c
IDB: Proper storage initialization before idle maintenance; r=dom-workers-and-storage-reviewers,ttung,sg
Blocks: 1619893, 1619898, 1619899
No longer blocks: 1482662
No longer blocks: 1619898, 1619899
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.