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

Issue 10806071: Delete stale chunks from safe-browsing downloads store. (Closed)

Created:
8 years, 5 months ago by Scott Hess - ex-Googler
Modified:
8 years, 4 months ago
Reviewers:
mattm
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Delete stale chunks from safe-browsing downloads store. Download store used to request kBinHashList, but that is now obsolete. Older clients continue to have a substantial number of such chunks, as evidenced by SB2.DownloadDatabaseKilobytes showing a distinct 50/50 split between a database size around 2M and another around 4M. BUG=108130 TEST=histograms of downloads store file size stops being bimodal. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150369

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -5 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_database.cc View 2 chunks +47 lines, -5 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
Scott Hess - ex-Googler
Was cleaning up old clients and ran across this...
8 years, 5 months ago (2012-07-23 20:36:57 UTC) #1
Scott Hess - ex-Googler
ping? Maybe you're OOO ...
8 years, 5 months ago (2012-07-25 19:35:09 UTC) #2
Scott Hess - ex-Googler
On 2012/07/25 19:35:09, shess wrote: > ping? Maybe you're OOO ... Actually, looks like you ...
8 years, 5 months ago (2012-07-25 19:39:47 UTC) #3
mattm
thanks, this got buried on my todo list somewhere. One question/comment. lgtm if you think ...
8 years, 4 months ago (2012-08-07 02:29:25 UTC) #4
Scott Hess - ex-Googler
https://chromiumcodereview.appspot.com/10806071/diff/1/chrome/browser/safe_browsing/safe_browsing_database.cc File chrome/browser/safe_browsing/safe_browsing_database.cc (right): https://chromiumcodereview.appspot.com/10806071/diff/1/chrome/browser/safe_browsing/safe_browsing_database.cc#newcode1103 chrome/browser/safe_browsing/safe_browsing_database.cc:1103: DeleteChunksFromStore(download_store_.get(), listid); On 2012/08/07 02:29:25, mattm wrote: > So, ...
8 years, 4 months ago (2012-08-07 16:36:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/10806071/1
8 years, 4 months ago (2012-08-07 16:37:37 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-07 17:57:21 UTC) #7
Change committed as 150369

Powered by Google App Engine
This is Rietveld 408576698