New issue
Advanced search Search tips

Issue 632344 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Delete CacheStorage object if it has no CacheStorageCaches after a short while

Project Member Reported by jkarlin@chromium.org, Jul 28 2016

Issue description

There is no need to keep a CacheStorage around if it's not being used (e.g., it doesn't own any open CacheStorageCaches objects). This is important because we open *every* CacheStorage object on startup for QuotaManager calculations. No point in keeping those around.

We can delete a CacheStorage if it hasn't been used in awhile (e.g., no CacheStorage operations have run in the last 10 seconds) or its last CacheStorageCache has closed after the timeout.

Note that to close a CacheStorage we'll need to introduce a Close() operation before deletion to ensure that all callbacks have been run before deletion.
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jul 28 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 2 by dmu...@chromium.org, Aug 11 2017

Status: Available (was: Untriaged)
Project Member

Comment 3 by sheriffbot@chromium.org, Aug 13

Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: wanderview@chromium.org pwnall@chromium.org
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
Switching to P3. We haven't tackled this in 2 years, so we it can't be too important.

Sign in to add a comment