New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 713354 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Block file cache allows IO thread and cache worker thread to access same fields

Project Member Reported by shivanisha@chromium.org, Apr 19 2017

Issue description

While working on CL https://codereview.chromium.org/2721933002/ that parallelizes the headers phase and response body writing phase of two transactions, TSAN came across two data race conditions where the IO thread of the headers phase transaction was reading the following while it was being written to by the cache worker thread of the writer transaction:
entry_->disk_entry->GetDataSize(kResponseContentIndex)
entry_->disk_entry->GetLastUsed()

Block file cache should not allow that to happen/API should be documented accordingly.
 
Cc: -rdsmith@chromium.org
Status: Untriaged (was: Available)
Available, but no owner or component? Please find a component, as no one will ever find this without one.

Sign in to add a comment