Open
Bug 1715742
Opened 3 years ago
Updated 1 years ago
Improve our handling of undeleted files during profile deletion
Categories
(Toolkit :: Startup and Profile System, task)
Toolkit
Startup and Profile System
Tracking
()
ASSIGNED
People
(Reporter: jstutte, Assigned: nrishel)
References
Details
(Whiteboard: [fidedi-ope])
Attachments
(2 files)
Bug 1714573 improved the deletion of the profile directory's content to happen before we unlock the profile. In doing so, we might end up with a list of undeleted files now (undeleted for whatever reasons, which might be outside of our control like antivirus or other scanners).
In order to reduce the potential for leaks further, we want to:
- retry their deletion after a short timeout for several times before giving up.
- report undeleted files always and enable a relative assertion
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → nrishel
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•3 years ago
|
||
- Prefilter profile content so that each entry can be deleted recursively without checking for root or lockfiles.
- Store undeleted roots instead of undeleted files so that a deeply nested undeleted file don't result in factorial growth of files to delete.
- Make directory recursion generic so file deletion and undeleted file logging can traverse paths identically.
Updated•3 years ago
|
Whiteboard: [fidedi-ope]
Updated•3 years ago
|
Reporter | ||
Comment 3•3 years ago
|
||
Sorry, I think I lost this review out of sight...
Flags: needinfo?(jstutte)
Reporter | ||
Comment 4•2 years ago
|
||
Patches are in "changes planned" status for now.
Flags: needinfo?(jstutte)
You need to log in
before you can comment on or make changes to this bug.
Description
•