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

Issue 2350113002: Add request-level caching for privileged queries. (Closed)

Created:
4 years, 3 months ago by sullivan
Modified:
4 years, 3 months ago
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Fix registry setting #

Patch Set 3 : Fix unit tests #

Patch Set 4 : Fix unit tests #

Total comments: 8

Patch Set 5 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -13 lines) Patch
M dashboard/dashboard/datastore_hooks.py View 1 2 3 4 3 chunks +33 lines, -13 lines 0 comments Download
M dashboard/dashboard/datastore_hooks_test.py View 1 3 chunks +15 lines, -0 lines 0 comments Download
M dashboard/dashboard/layered_cache_test.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M dashboard/dashboard/list_tests_test.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M dashboard/dashboard/models/internal_only_model_test.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M dashboard/dashboard/namespaced_stored_object_test.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M dashboard/dashboard/start_try_job_test.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M dashboard/dashboard/testing_common.py View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M dashboard/dashboard/update_test_suites_test.py View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M dashboard/dashboard/utils_test.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
sullivan
https://codereview.chromium.org/2350113002/diff/60001/dashboard/dashboard/datastore_hooks.py File dashboard/dashboard/datastore_hooks.py (right): https://codereview.chromium.org/2350113002/diff/60001/dashboard/dashboard/datastore_hooks.py#newcode107 dashboard/dashboard/datastore_hooks.py:107: return True Switched this from False->True because it turns ...
4 years, 3 months ago (2016-09-19 21:40:27 UTC) #16
benjhayden
https://codereview.chromium.org/2350113002/diff/60001/dashboard/dashboard/datastore_hooks.py File dashboard/dashboard/datastore_hooks.py (right): https://codereview.chromium.org/2350113002/diff/60001/dashboard/dashboard/datastore_hooks.py#newcode128 dashboard/dashboard/datastore_hooks.py:128: # DO NOT CACHE the result of a SINGLE ...
4 years, 3 months ago (2016-09-19 22:11:10 UTC) #19
benjhayden
lgtm https://codereview.chromium.org/2350113002/diff/60001/dashboard/dashboard/update_test_suites_test.py File dashboard/dashboard/update_test_suites_test.py (right): https://codereview.chromium.org/2350113002/diff/60001/dashboard/dashboard/update_test_suites_test.py#newcode101 dashboard/dashboard/update_test_suites_test.py:101: del request.registry['privileged_cached'] Is this needed?
4 years, 3 months ago (2016-09-19 22:14:53 UTC) #20
sullivan
https://codereview.chromium.org/2350113002/diff/60001/dashboard/dashboard/datastore_hooks.py File dashboard/dashboard/datastore_hooks.py (right): https://codereview.chromium.org/2350113002/diff/60001/dashboard/dashboard/datastore_hooks.py#newcode128 dashboard/dashboard/datastore_hooks.py:128: # DO NOT CACHE the result of a SINGLE ...
4 years, 3 months ago (2016-09-20 02:19:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2350113002/80001
4 years, 3 months ago (2016-09-20 02:19:47 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Android Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Android%20Tryserver/builds/1400) Catapult Linux ...
4 years, 3 months ago (2016-09-20 02:20:56 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2350113002/80001
4 years, 3 months ago (2016-09-20 14:10:14 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/4f3a13e5fdea583299ecf64e530a4b42201a7fcb
4 years, 3 months ago (2016-09-20 14:44:34 UTC) #30
sullivan
4 years, 3 months ago (2016-09-20 22:23:25 UTC) #31
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2356993002/ by sullivan@chromium.org.

The reason for reverting is: This causes some errors for signed-out users when
viewing charts. Reverting while I investigate..

Powered by Google App Engine
This is Rietveld 408576698