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•3 months ago
|
||
QuotaManager::OpenClientDirectory can now detect the requested persistence type
and initialize temporary storage if it's needed.
Assignee | ||
Comment 2•3 months ago
|
||
QuotaManager::OpenClientDirectory already makes sure that temporary storage
is initialized so all these calls are now redundant.
Assignee | ||
Comment 3•3 months ago
|
||
QuotaManager::OpenStorageDirectory can now detect the requested persistence
scope and initialize temporary storage if it's needed.
Assignee | ||
Comment 4•3 months ago
|
||
QuotaManager::OpenStorageDirectory already makes sure that temporary storage
is initialized so all these calls are now redundant.
Assignee | ||
Comment 5•3 months 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•3 months 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•3 months ago
|
||
These additional tests are mainly to improve code coverage of
QuotaManager::InitializeTemporaryStorage method.
Assignee | ||
Updated•2 months ago
|
Comment 9•1 months ago
|
||
bugherder |
Comment 10•1 month ago
|
||
Comment 11•1 month ago
|
||
bugherder |
Comment 12•1 month ago
|
||
Comment 13•1 month ago
|
||
bugherder |
Comment 14•1 month ago
|
||
Comment 15•1 month ago
|
||
bugherder |
Assignee | ||
Updated•1 month ago
|
Comment 16•1 month ago
|
||
Comment 17•1 month 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
•