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

Issue 272773004: Domain Reliability: Don't clear "upload pending" bit until upload starts (Closed)

Created:
6 years, 7 months ago by Deprecated (see juliatuttle)
Modified:
6 years, 7 months ago
Reviewers:
davidben
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Domain Reliability: Don't clear "upload pending" bit until upload starts Someone noticed that occasionally the uploader sent an empty upload. I looked into the scheduler and found that it was clearing the "upload pending" bit early, when the upload was scheduled. This meant that if a beacon arrived between scheduling and starting the upload, the bit was still set on its behalf, despite it being included in the upload. Once the upload finished, the scheduler would see the bit still set and schedule another. This patch adds a couple of unittests for interesting interleavings (beacons that arrive between scheduling and starting the upload, and between starting and finishing the upload), and clears the upload pending bit in the right place. BUG=356791 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269592

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M components/domain_reliability/scheduler.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M components/domain_reliability/scheduler_unittest.cc View 1 2 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Deprecated (see juliatuttle)
PTAL, davidben.
6 years, 7 months ago (2014-05-09 00:07:19 UTC) #1
davidben
lgtm
6 years, 7 months ago (2014-05-09 15:39:02 UTC) #2
Deprecated (see juliatuttle)
The CQ bit was checked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-09 15:39:14 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/272773004/1
6 years, 7 months ago (2014-05-09 15:40:45 UTC) #4
Deprecated (see juliatuttle)
The CQ bit was checked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-10 04:01:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/272773004/20001
6 years, 7 months ago (2014-05-10 04:02:57 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-10 07:35:39 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 18:23:11 UTC) #8
Message was sent while issue was closed.
Change committed as 269592

Powered by Google App Engine
This is Rietveld 408576698