Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Issue 2671793002: Correct handling of ERR_CACHE_LOCK_TIMEOUT for read only transactions. (Closed)

Created:
3 years, 10 months ago by shivanisha
Modified:
3 years, 10 months ago
Reviewers:
asanka, jkarlin
CC:
cbentzel+watch_chromium.org, chromium-reviews, gavinp+disk_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Correct handling of ERR_CACHE_LOCK_TIMEOUT for read only transactions. The investigation of the root cause is detailed in https://bugs.chromium.org/p/chromium/issues/detail?id=647177#c11 BUG=647177 Review-Url: https://codereview.chromium.org/2671793002 Cr-Commit-Position: refs/heads/master@{#449342} Committed: https://chromium.googlesource.com/chromium/src/+/3701cde07f15ce076d9005bac70cb6fe65f465bb

Patch Set 1 #

Total comments: 4

Patch Set 2 : Feedback addressed #

Total comments: 4

Patch Set 3 : Asanka's feedback addressed. #

Total comments: 4

Patch Set 4 : Feedback addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -10 lines) Patch
M net/http/http_cache.h View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M net/http/http_cache.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 2 3 3 chunks +69 lines, -1 line 0 comments Download
M net/http/mock_http_cache.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/mock_http_cache.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
shivanisha
PTAL, Thanks! The investigation of the root cause is detailed in https://bugs.chromium.org/p/chromium/issues/detail?id=647177#c11
3 years, 10 months ago (2017-02-02 20:42:21 UTC) #4
jkarlin
Nice catch. lgtm! https://codereview.chromium.org/2671793002/diff/1/net/http/http_cache_unittest.cc File net/http/http_cache_unittest.cc (right): https://codereview.chromium.org/2671793002/diff/1/net/http/http_cache_unittest.cc#newcode1776 net/http/http_cache_unittest.cc:1776: cache.BypassCacheLock(); nit: Can you add a ...
3 years, 10 months ago (2017-02-03 13:16:30 UTC) #7
shivanisha
https://codereview.chromium.org/2671793002/diff/1/net/http/http_cache_unittest.cc File net/http/http_cache_unittest.cc (right): https://codereview.chromium.org/2671793002/diff/1/net/http/http_cache_unittest.cc#newcode1776 net/http/http_cache_unittest.cc:1776: cache.BypassCacheLock(); done. https://codereview.chromium.org/2671793002/diff/1/net/http/http_cache_unittest.cc#newcode1792 net/http/http_cache_unittest.cc:1792: done.
3 years, 10 months ago (2017-02-03 14:58:09 UTC) #10
shivanisha
asanka@, PTAL for owner approval, thanks! The investigation of the root cause is detailed in ...
3 years, 10 months ago (2017-02-03 15:13:18 UTC) #13
asanka
LGTM % test considerations Sorry about the delay. https://codereview.chromium.org/2671793002/diff/20001/net/http/http_cache_unittest.cc File net/http/http_cache_unittest.cc (right): https://codereview.chromium.org/2671793002/diff/20001/net/http/http_cache_unittest.cc#newcode1778 net/http/http_cache_unittest.cc:1778: cache.BypassCacheLock(); ...
3 years, 10 months ago (2017-02-07 22:56:03 UTC) #16
shivanisha
Thanks for the review. Addressed the feedback. Also created a separate but related issue: crbug.com/690099 ...
3 years, 10 months ago (2017-02-08 19:14:13 UTC) #17
asanka
LGTM I think the nits are more symptoms of this file needing some cleanup. Perhaps ...
3 years, 10 months ago (2017-02-09 02:39:53 UTC) #22
shivanisha
https://codereview.chromium.org/2671793002/diff/40001/net/http/http_cache_unittest.cc File net/http/http_cache_unittest.cc (right): https://codereview.chromium.org/2671793002/diff/40001/net/http/http_cache_unittest.cc#newcode6832 net/http/http_cache_unittest.cc:6832: NULL, 0); Removed. https://codereview.chromium.org/2671793002/diff/40001/net/http/http_cache_unittest.cc#newcode6860 net/http/http_cache_unittest.cc:6860: ASSERT_TRUE(response.metadata.get() == NULL); Changed ...
3 years, 10 months ago (2017-02-09 16:46:41 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2671793002/60001
3 years, 10 months ago (2017-02-09 16:47:29 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 17:43:52 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3701cde07f15ce076d9005bac70c...

Powered by Google App Engine
This is Rietveld 408576698