Handle the remaining cases that if the origin stored in the metadata file mismatches the origin directory name
Categories
(Core :: Storage: Quota Manager, enhancement, P3)
Tracking
()
People
(Reporter: tt, Unassigned)
References
Details
(Keywords: leave-open, Whiteboard: [storage-jv])
Attachments
(2 files)
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
Reporter | ||
Comment 2•4 years ago
|
||
If the origin name that stored in the directory metadata file doesn't match
its origin directory name, it would cause temporary storage initialization to
fail.
We have handle the origins that with a trailing dot in bug 1659053.
Here, we want to handle the remaining unknown cases.
The policy is:
- Try to restore the origin directory name base on the origin name that stored
in the directory metadata file.- If the target origin exists, we put the origin directory name into a deny
list. - If the target origin doesn't exists, we should be okay.
- If the target origin exists, we put the origin directory name into a deny
Once the origin directory name is put into the list, that means
- Such directories would be ignored by normal accesses
(e.g. InitStorageAndOrigin, ListOrigin, and GetOriginUsage) - Such directories wouldn't be ignored by ClearOp
Depends on D89704
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 3•4 years ago
|
||
try for the first patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=0c190377a9ca43bc531faf827b66fe331df1606b
Reporter | ||
Updated•4 years ago
|
Pushed by ttung@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b05355f2f5f7 Use Result<V, E> for GetDirectoryOrigin and use *_TRY_VAR for its callsites; r=sg,dom-workers-and-storage-reviewers
Comment 5•4 years ago
|
||
bugherder |
Comment 6•3 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:jstutte, maybe it's time to close this bug?
Reporter | ||
Comment 7•3 years ago
|
||
I think the priority of D89705 depends on the result from the telemetry of QM_TRY
.
The patch might still have value but we probably don't have time to get into that if there are no related failures to that.
Updated•3 years ago
|
Comment 8•3 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:jstutte, maybe it's time to close this bug?
Updated•3 years ago
|
Comment 9•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:jstutte, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:edenchuang, maybe it's time to close this bug?
For more information, please visit auto_nag documentation.
Updated•1 year ago
|
Comment 11•1 year ago
|
||
Hi Jan, as the patch is assigned to you, the bug will stick with you, too. Should we find someone else to work on this?
Comment 12•10 months ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #11)
Hi Jan, as the patch is assigned to you, the bug will stick with you, too. Should we find someone else to work on this?
Yeah, we could try to improve this area of code, but I think it's rather a low priority at the moment.
Description
•