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

Issue 3617002: AU: Fall back to full updates after a number of failed delta update attempts. (Closed)

Created:
10 years, 2 months ago by petkov
Modified:
9 years, 7 months ago
Reviewers:
adlr
CC:
chromium-os-reviews_chromium.org, petkov, adlr
Visibility:
Public.

Description

AU: Fall back to full updates after a number of failed delta update attempts. Count each failed delta update attempt. Keep the count in persistent storage. If the count exceeds a threshold (3), disable delta updates by setting delta_okay to false in the update check request. Once this CL is in, we have to ensure that we have a full update payload available on the update server for each version otherwise we may orphan clients. BUG=7221 TEST=unit tests, gmerged on device and tested with a mod'ed dev server Change-Id: I7f7fa73f652f12f22cc8604dad6a26c802b8582d Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=3627577

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove leftover log #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -5 lines) Patch
M prefs.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M prefs_interface.h View 1 chunk +1 line, -0 lines 0 comments Download
M update_attempter.h View 4 chunks +13 lines, -0 lines 0 comments Download
M update_attempter.cc View 1 8 chunks +36 lines, -1 line 0 comments Download
M update_attempter_unittest.cc View 3 chunks +48 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
petkov
10 years, 2 months ago (2010-10-01 17:51:54 UTC) #1
adlr
LGTM http://codereview.chromium.org/3617002/diff/1/4 File update_attempter.cc (right): http://codereview.chromium.org/3617002/diff/1/4#newcode322 update_attempter.cc:322: LOG(INFO) << "Marking"; better log message?
10 years, 2 months ago (2010-10-01 18:00:05 UTC) #2
petkov
10 years, 2 months ago (2010-10-01 18:04:25 UTC) #3
pushing soon...

http://codereview.chromium.org/3617002/diff/1/4
File update_attempter.cc (right):

http://codereview.chromium.org/3617002/diff/1/4#newcode322
update_attempter.cc:322: LOG(INFO) << "Marking";
On 2010/10/01 18:00:05, adlr wrote:
> better log message?

Removed -- this was a debug left over.

Powered by Google App Engine
This is Rietveld 408576698