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

Issue 1908483002: tools/android/loading Loading trace database improvements (Closed)

Created:
4 years, 8 months ago by droger
Modified:
4 years, 8 months ago
Reviewers:
Benoit L
CC:
chromium-reviews, mikecase+watch_chromium.org, gabadie+watch_chromium.org, jbudorick+watch_chromium.org, lizeb+watch-android-loading_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tools/android/loading Loading trace database improvements The loading trace database is now reloaded from the cloud when the worker starts, which prevents losing data when the worker restarts after a failure. There is also now one trace database per worker, which solves the issues of concurrent access to the database. The CL also adds supports for the 'pushStart' and 'pushEnd' events that were added by CL: https://codereview.chromium.org/1828203005/ Committed: https://crrev.com/4a50ba25fd9177163031cfc403e2d7e4bf036d99 Cr-Commit-Position: refs/heads/master@{#388530}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Revert bad change #

Patch Set 3 : Review comments #

Patch Set 4 : Minor cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -43 lines) Patch
M tools/android/loading/cloud/backend/README.md View 1 2 3 1 chunk +14 lines, -8 lines 0 comments Download
M tools/android/loading/cloud/backend/google_storage_accessor.py View 2 chunks +18 lines, -3 lines 0 comments Download
M tools/android/loading/cloud/backend/startup-script.sh View 2 chunks +7 lines, -2 lines 0 comments Download
M tools/android/loading/cloud/backend/worker.py View 1 2 3 6 chunks +38 lines, -24 lines 0 comments Download
M tools/android/loading/loading_trace_database.py View 1 chunk +4 lines, -3 lines 0 comments Download
M tools/android/loading/loading_trace_database_unittest.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/android/loading/request_track.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
droger
4 years, 8 months ago (2016-04-20 14:39:42 UTC) #3
Benoit L
https://codereview.chromium.org/1908483002/diff/20001/tools/android/loading/cloud/backend/worker.py File tools/android/loading/cloud/backend/worker.py (right): https://codereview.chromium.org/1908483002/diff/20001/tools/android/loading/cloud/backend/worker.py#newcode53 tools/android/loading/cloud/backend/worker.py:53: self._traces_dir = self._base_path_in_bucket + 'traces/' Generally speaking, I prefer ...
4 years, 8 months ago (2016-04-20 15:02:22 UTC) #4
droger
Thanks. https://codereview.chromium.org/1908483002/diff/20001/tools/android/loading/cloud/backend/worker.py File tools/android/loading/cloud/backend/worker.py (right): https://codereview.chromium.org/1908483002/diff/20001/tools/android/loading/cloud/backend/worker.py#newcode53 tools/android/loading/cloud/backend/worker.py:53: self._traces_dir = self._base_path_in_bucket + 'traces/' On 2016/04/20 15:02:22, ...
4 years, 8 months ago (2016-04-20 15:58:17 UTC) #6
Benoit L
Thanks! lgtm
4 years, 8 months ago (2016-04-20 16:07:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908483002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908483002/80001
4 years, 8 months ago (2016-04-20 16:23:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/124836)
4 years, 8 months ago (2016-04-20 16:28:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908483002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908483002/80001
4 years, 8 months ago (2016-04-20 17:45:36 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 8 months ago (2016-04-20 17:52:20 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:24:45 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4a50ba25fd9177163031cfc403e2d7e4bf036d99
Cr-Commit-Position: refs/heads/master@{#388530}

Powered by Google App Engine
This is Rietveld 408576698