New issue
Advanced search Search tips

Issue 914634 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

CacheStorage: Cache size mismatch while loading Google docs homescreen

Project Member Reported by bashi@chromium.org, Dec 13

Issue description

Not always but sometimes I see following errors while loading Google docs homescreen (https://docs.google.com).

[205236:205249:1213/100839.609032:ERROR:cache_storage_cache.cc(2047)] Cache size: 30703360 does not match size from index: 30737408
[205236:205249:1213/100839.619206:ERROR:cache_storage_cache.cc(2047)] Cache size: 41935872 does not match size from index: 41989120

I'm not sure the exact repro step but this seems to happen when:
- Using a service worker enabled account
- Opening homescreen 1-2 day(s) after the last visit
- Using different chrome builds (milestone is the same, e.g. M73)

 
We have a histogram that shows how often this hits in the wild as well:

https://uma.googleplex.com/p/chrome/histograms/?endDate=20181211&dayCount=7&histograms=ServiceWorkerCache.IndexSizeDifference&fixupData=true&showMax=true&filters=isofficial%2Ceq%2CTrue&implicitFilters=isofficial

I expect this probably happens when the browser is shutdown while there is a pending index write.
Status: Available (was: Untriaged)

Sign in to add a comment