Cover temporary storage initialization in OpenStorageDirectory and OpenClientDirectory
Categories
(Core :: Storage: Quota Manager, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
(Blocks 1 open bug)
Details
Attachments
(7 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Quota clients and origin operations currently still have to call EnsureTemporaryStorageIsInitializedInternal method
on the QM IO thread. This should be covered by OpenStorageDirectory and OpenClientDirectory instead.
| Assignee | ||
Comment 1•1 year ago
|
||
QuotaManager::OpenClientDirectory can now detect the requested persistence type
and initialize temporary storage if it's needed.
| Assignee | ||
Comment 2•1 year ago
|
||
QuotaManager::OpenClientDirectory already makes sure that temporary storage
is initialized so all these calls are now redundant.
| Assignee | ||
Comment 3•1 year ago
|
||
QuotaManager::OpenStorageDirectory can now detect the requested persistence
scope and initialize temporary storage if it's needed.
| Assignee | ||
Comment 4•1 year ago
|
||
QuotaManager::OpenStorageDirectory already makes sure that temporary storage
is initialized so all these calls are now redundant.
| Assignee | ||
Comment 5•1 year ago
|
||
The goal to call QuotaManager::EnsureTemporaryStorageIsInitializedInternal only
from InitTemporaryStorageOp has been achieved. It's now easy to change the
method to be a private method.
| Assignee | ||
Comment 6•1 year ago
|
||
TestQuotaManager.cpp is getting big and the use of the Await helper reduces the
size of the file significantly and also make the tests more readable.
| Assignee | ||
Comment 7•1 year ago
|
||
These additional tests are mainly to improve code coverage of
QuotaManager::InitializeTemporaryStorage method.
| Assignee | ||
Updated•1 year ago
|
Comment 9•1 year ago
|
||
| bugherder | ||
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
| bugherder | ||
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
| bugherder | ||
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Updated•1 year ago
|
Comment 16•1 year ago
|
||
Comment 17•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/895ce008cc48
https://hg.mozilla.org/mozilla-central/rev/7159f6e61248
https://hg.mozilla.org/mozilla-central/rev/a71f2a1191d8
Description
•