Speed up temporary storage initialization by removing old origin directories
Categories
(Core :: Storage: Quota Manager, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
Details
Attachments
(5 files)
Some users have a lot of free space on disk so origins are never evicted which leads to large set of directories and files after some time (years). This can be a problem on slower hardware, so we should reduce number of origin directories if the initialization takes longer than X seconds. Origins which were used in last 13 months shouldn't be removed.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D123613
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a7179b67eb1a Implement a workaround for the case when GetLastModifiedTime returns INT64_MIN; r=jari https://hg.mozilla.org/integration/autoland/rev/c9f100cb3f86 Expose nsFileStream via the component manager; r=necko-reviewers,dragana,jari https://hg.mozilla.org/integration/autoland/rev/db05822c64ff Speed up temporary storage initialization by archiving unaccessed origin directories; r=jari
Comment 5•2 years ago
|
||
Backed out for failures on test_unsetLastAccessTime.js
-
backout: https://hg.mozilla.org/integration/autoland/rev/1546185c8149b2e5ebb3eae1bc293de0aca41632
-
failure log: https://treeherder.mozilla.org/logviewer?job_id=350567091&repo=autoland&lineNumber=5084
[task 2021-09-04T21:08:20.666Z] 21:08:20 INFO - TEST-START | dom/quota/test/xpcshell/test_unsetLastAccessTime.js
[task 2021-09-04T21:08:20.937Z] 21:08:20 WARNING - TEST-UNEXPECTED-FAIL | dom/quota/test/xpcshell/test_unsetLastAccessTime.js | xpcshell return code: 0
[task 2021-09-04T21:08:20.937Z] 21:08:20 INFO - TEST-INFO took 270ms
[task 2021-09-04T21:08:20.937Z] 21:08:20 INFO - >>>>>>>
[task 2021-09-04T21:08:20.937Z] 21:08:20 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2021-09-04T21:08:20.938Z] 21:08:20 INFO - TEST-PASS | dom/quota/test/xpcshell/test_unsetLastAccessTime.js | undefined assertion name - There should be a testSteps function - true == true
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/48e005ee27b7 Implement a workaround for the case when GetLastModifiedTime returns INT64_MIN; r=jari https://hg.mozilla.org/integration/autoland/rev/126032a9c310 Expose nsFileStream via the component manager; r=necko-reviewers,dragana,jari https://hg.mozilla.org/integration/autoland/rev/144d07c1d155 Speed up temporary storage initialization by archiving unaccessed origin directories; r=jari
Comment 7•2 years ago
|
||
bugherder |
Assignee | ||
Comment 8•2 years ago
|
||
Assignee | ||
Comment 9•2 years ago
|
||
Depends on D125168
Assignee | ||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/af59d0fac304 Implement nsIQuotaManagerService::getFullOriginMetadata; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/0d3c7f057415 Add test_unsetLastAccessTime.js for the case when quota information is cached; r=dom-storage-reviewers,jari
Comment 11•2 years ago
|
||
Pushed by ccozmuta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/578556238bcb Fix lint failure r=fix
Comment 12•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/af59d0fac304
https://hg.mozilla.org/mozilla-central/rev/0d3c7f057415
https://hg.mozilla.org/mozilla-central/rev/578556238bcb
Description
•