зеркало из https://github.com/mozilla/gecko-dev.git
7d0fd78cda
This patch introduces a new notion of unaccessed origins. An origin is considered as unaccessed if its age is older than a threshold (controlled by a new preference, currently set to 13 months). Unaccessed origins are collected during quota info loading. When quota info loading is finished we check if it took a long time (controlled by a new preference, currently set to 21s) and eventually archive unaccessed origins which should speed up temporary storage initialization in a new session. Archiving consits of creating a new directory (archive) under storage/archives/0 directory (the name is based on the current date) and moving unaccessed origin directories to the archive. Once the patch lands, we will be monitoring QM_QUOTA_INFO_LOAD_TIME_V0 telemetry (quota info load time) and eventually lower down the preference for long quota info load time. If there are no issues, the archiving will be replaced with a hard removal of unaccessed origins and also of the archives which were created in the meantime. Differential Revision: https://phabricator.services.mozilla.com/D123049 |
||
---|---|---|
.. | ||
scripts | ||
test | ||
ActorsChild.cpp | ||
ActorsChild.h | ||
ActorsParent.cpp | ||
ActorsParent.h | ||
CachingDatabaseConnection.cpp | ||
CachingDatabaseConnection.h | ||
CheckedUnsafePtr.h | ||
CipherStrategy.h | ||
Client.cpp | ||
Client.h | ||
ClientImpl.h | ||
CommonMetadata.h | ||
Config.h | ||
DecryptingInputStream.cpp | ||
DecryptingInputStream.h | ||
DecryptingInputStream_impl.h | ||
DirectoryLock.h | ||
DirectoryLockImpl.cpp | ||
DirectoryLockImpl.h | ||
DummyCipherStrategy.h | ||
EncryptedBlock.h | ||
EncryptingOutputStream.cpp | ||
EncryptingOutputStream.h | ||
EncryptingOutputStream_impl.h | ||
FileStreams.cpp | ||
FileStreams.h | ||
FirstInitializationAttempts.h | ||
FirstInitializationAttemptsImpl.h | ||
Flatten.h | ||
IPCStreamCipherStrategy.h | ||
InitializationTypes.cpp | ||
InitializationTypes.h | ||
MemoryOutputStream.cpp | ||
MemoryOutputStream.h | ||
NSSCipherStrategy.cpp | ||
NSSCipherStrategy.h | ||
OriginScope.h | ||
PQuota.ipdl | ||
PQuotaRequest.ipdl | ||
PQuotaUsageRequest.ipdl | ||
PersistenceType.cpp | ||
PersistenceType.h | ||
QMResult.cpp | ||
QMResult.h | ||
QMResultInlines.h | ||
QuotaCommon.cpp | ||
QuotaCommon.h | ||
QuotaManager.h | ||
QuotaManagerService.cpp | ||
QuotaManagerService.h | ||
QuotaObject.h | ||
QuotaRequests.cpp | ||
QuotaRequests.h | ||
QuotaResults.cpp | ||
QuotaResults.h | ||
ScopedLogExtraInfo.cpp | ||
ScopedLogExtraInfo.h | ||
SerializationHelpers.h | ||
StorageManager.cpp | ||
StorageManager.h | ||
UsageInfo.h | ||
components.conf | ||
moz.build | ||
nsIQuotaCallbacks.idl | ||
nsIQuotaManagerService.idl | ||
nsIQuotaRequests.idl | ||
nsIQuotaResults.idl | ||
nsIndexedDBProtocolHandler.cpp | ||
nsIndexedDBProtocolHandler.h |