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

Issue 2472593002: Add retries for completed background loading attempts (Closed)

Created:
4 years, 1 month ago by Pete Williamson
Modified:
4 years, 1 month ago
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add retries for completed background loading attempts We determined through manual testing that retries are needed for an acceptable page display rate. This adds back the retry limit, set to 3 for now, and has the unit test changes to adapt to the retry limit. Since we now do retries, we set the policy for retries to prefer requests with fewer retries, and among requests with the same number of retries, to prefer earlier requests. This will try the requests in round-robin order so that one troublesome website will not stop the other requests. We also removed the check temporarily allowing completed retries (under the guise of started retries) BUG=660991 Committed: https://crrev.com/cdb23a159c0f4cbd8e18f9b15c878cc20a4ba48d Cr-Commit-Position: refs/heads/master@{#429748}

Patch Set 1 #

Total comments: 2

Patch Set 2 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M components/offline_pages/background/offliner_policy.h View 1 2 chunks +10 lines, -3 lines 0 comments Download
M components/offline_pages/background/request_coordinator.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/offline_pages/background/request_coordinator_unittest.cc View 3 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 28 (14 generated)
Pete Williamson
4 years, 1 month ago (2016-11-01 23:16:13 UTC) #3
dougarnett
lgtm with minor comment https://codereview.chromium.org/2472593002/diff/1/components/offline_pages/background/offliner_policy.h File components/offline_pages/background/offliner_policy.h (right): https://codereview.chromium.org/2472593002/diff/1/components/offline_pages/background/offliner_policy.h#newcode14 components/offline_pages/background/offliner_policy.h:14: // we often need about ...
4 years, 1 month ago (2016-11-02 19:28:12 UTC) #4
dewittj
drive-by: please follow https://www.chromium.org/developers/contributing-code#TOC-Writing-change-list-descriptions and make sure a summary is the first line of the ...
4 years, 1 month ago (2016-11-02 19:49:52 UTC) #6
dougarnett
Btw, as this is a simple looking change that looks good, I think it merits ...
4 years, 1 month ago (2016-11-03 00:13:32 UTC) #7
Pete Williamson
On 2016/11/02 19:49:52, dewittj wrote: > drive-by: please follow > https://www.chromium.org/developers/contributing-code#TOC-Writing-change-list-descriptions > > and make ...
4 years, 1 month ago (2016-11-03 18:33:50 UTC) #9
Pete Williamson
Also, all the big pages I tested downloaded fine. https://codereview.chromium.org/2472593002/diff/1/components/offline_pages/background/offliner_policy.h File components/offline_pages/background/offliner_policy.h (right): https://codereview.chromium.org/2472593002/diff/1/components/offline_pages/background/offliner_policy.h#newcode14 components/offline_pages/background/offliner_policy.h:14: ...
4 years, 1 month ago (2016-11-03 18:34:08 UTC) #10
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/2472593002/20001
4 years, 1 month ago (2016-11-03 19:16:37 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/330426)
4 years, 1 month ago (2016-11-03 19:52:59 UTC) #15
Dmitry Titov
Please wait with landing before getting all LGTMs. Are the changes introduced actually tested? For ...
4 years, 1 month ago (2016-11-03 22:12:06 UTC) #16
Pete Williamson
On 2016/11/03 22:12:06, Dmitry Titov wrote: > Please wait with landing before getting all LGTMs. ...
4 years, 1 month ago (2016-11-03 22:50:29 UTC) #17
Dmitry Titov
My question was about unit tests, resolved offline, thanks! lgtm
4 years, 1 month ago (2016-11-03 22:57:54 UTC) #20
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/2472593002/20001
4 years, 1 month ago (2016-11-04 00:42:44 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-04 01:00:23 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 01:02:14 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cdb23a159c0f4cbd8e18f9b15c878cc20a4ba48d
Cr-Commit-Position: refs/heads/master@{#429748}

Powered by Google App Engine
This is Rietveld 408576698