Open Bug 1905068 Opened 3 months ago

Use a cached list of all available temporary origins for pattern-based clearing of origins

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

People

(Reporter: janv, Assigned: janv)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Pattern-based clearing of origins can be slow on some machines, especially those with older disks and many origin directories.
Bug 1867997 (patch https://phabricator.services.mozilla.com/D198990) introduces a cached list of all available temporary origins which can be used for pattern-based clearing of origins as well.
This should have notable effect on the clearing operation especially in cases when there are no matches for given pattern and the cost of IO-based traversal is much higher than the cost of moving origin directories to the "to-be-deleted" folder.

You need to log in before you can comment on or make changes to this bug.