New issue
Advanced search Search tips

Issue 690099 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

HttpCache::MetadataWriter using incorrect load flags

Project Member Reported by shivanisha@chromium.org, Feb 8 2017

Issue description

HttpCache::MetadataWriter writes metadata to the cached entry but does not read anything from the network. That's why it fills the load flag as LOAD_ONLY_FROM_CACHE. But this load flag is interpreted as a read-only request at the HttpCache::Transaction layer and thus the transaction gets added in entry_->readers. If there are 2 such metadata writers they will both be added and they will both invoke metadata writing to the disk entry. Since currently there is not limit to the buffer size the metadata writer writes all content in a single call and thus the 2 metadata writers end up being serialized at the disk entry layer.
But in the future this could change and can lead to incorrect metadata being written to the disk entry.
 
Description: Show this description
Summary: HttpCache::MetadataWriter using incorrect load flags (was: HttpCache::MetadataWriter using wrong load flags)
Project Member

Comment 3 by sheriffbot@chromium.org, Feb 12 2018

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

Sign in to add a comment