Metrics service uses incorrect size to check if an upload is allowed due to traffic throttling. |
|
Issue descriptionOn every metrics upload on cellular we check if the upload would put us over our threshold for data use. This is to prevent metrics from using too much of a users cellular data. We should be using the size of the log to check but instead we're using the size of the hash of the log. https://codesearch.chromium.org/chromium/src/components/metrics/reporting_service.cc?l=130&rcl=6df919a2cf624a75cc0bb1a232e62c1380ade160
,
Nov 9
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c6703c9f73fee12d46cdd3a95787aab45f4c3fa9 commit c6703c9f73fee12d46cdd3a95787aab45f4c3fa9 Author: Jesse Doherty <jwd@chromium.org> Date: Fri Nov 09 19:26:46 2018 Use the size of the staged log instead of the size of the hash to check if it should be uploaded on cellular. Bug: 902465 Change-Id: Ic7ffe0c5d5639b99f590c4ad7ebbf334254ea05f Reviewed-on: https://chromium-review.googlesource.com/c/1329501 Commit-Queue: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#606926} [modify] https://crrev.com/c6703c9f73fee12d46cdd3a95787aab45f4c3fa9/components/metrics/reporting_service.cc |
|
►
Sign in to add a comment |
|
Comment 1 by jwd@chromium.org
, Nov 6