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

Issue 2640813005: Fold config service URL into datastore cache keys. (Closed)

Created:
3 years, 11 months ago by dnj
Modified:
3 years, 11 months ago
Reviewers:
Vadim Sh., iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Fold config service URL into datastore cache keys. Currently, the config cache does not differentiate between cache entries from different configuration services. Add the configuration service URL so that, in case someone configures multiple configuration sources, they don't cross-talk. BUG=chromium:682465 TEST=unit Review-Url: https://codereview.chromium.org/2640813005 Committed: https://github.com/luci/luci-go/commit/8807f3cf1eca13c363f1f53443daa657ccf694b2

Patch Set 1 #

Total comments: 3

Patch Set 2 : Infer config service URL from various formats. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -36 lines) Patch
M luci_config/appengine/backend/datastore/ds_test.go View 1 2 7 chunks +21 lines, -18 lines 0 comments Download
M luci_config/appengine/backend/memcache/cache_test.go View 1 2 4 chunks +13 lines, -12 lines 0 comments Download
M luci_config/server/cfgclient/backend/caching/config.go View 5 chunks +17 lines, -6 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (4 generated)
dnj
PTAL
3 years, 11 months ago (2017-01-19 01:07:26 UTC) #2
iannucci
https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go File luci_config/server/cfgclient/backend/client/client.go (right): https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go#newcode108 luci_config/server/cfgclient/backend/client/client.go:108: IsCompleteEndpointURL bool ew... Can we make this non-configurable and ...
3 years, 11 months ago (2017-01-19 02:08:05 UTC) #3
dnj
https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go File luci_config/server/cfgclient/backend/client/client.go (right): https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go#newcode108 luci_config/server/cfgclient/backend/client/client.go:108: IsCompleteEndpointURL bool On 2017/01/19 02:08:05, iannucci wrote: > ew... ...
3 years, 11 months ago (2017-01-19 02:19:30 UTC) #4
iannucci
https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go File luci_config/server/cfgclient/backend/client/client.go (right): https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go#newcode108 luci_config/server/cfgclient/backend/client/client.go:108: IsCompleteEndpointURL bool On 2017/01/19 02:19:29, dnj wrote: > On ...
3 years, 11 months ago (2017-01-19 02:21:01 UTC) #5
dnj
On 2017/01/19 02:21:01, iannucci wrote: > https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go > File luci_config/server/cfgclient/backend/client/client.go (right): > > https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go#newcode108 > ...
3 years, 11 months ago (2017-01-19 02:33:22 UTC) #6
iannucci
On 2017/01/19 02:33:22, dnj wrote: > On 2017/01/19 02:21:01, iannucci wrote: > > > https://codereview.chromium.org/2640813005/diff/1/luci_config/server/cfgclient/backend/client/client.go ...
3 years, 11 months ago (2017-01-19 02:38:39 UTC) #7
iannucci
On 2017/01/19 02:38:39, iannucci wrote: > On 2017/01/19 02:33:22, dnj wrote: > > On 2017/01/19 ...
3 years, 11 months ago (2017-01-19 02:40:43 UTC) #8
dnj
> > It sounds like you're saying that this particular structure (and not the > ...
3 years, 11 months ago (2017-01-19 02:43:57 UTC) #9
iannucci
On 2017/01/19 02:43:57, dnj wrote: > > > It sounds like you're saying that this ...
3 years, 11 months ago (2017-01-19 03:17:48 UTC) #10
dnj
On 2017/01/19 03:17:48, iannucci wrote: > On 2017/01/19 02:43:57, dnj wrote: > > > > ...
3 years, 11 months ago (2017-01-19 03:24:15 UTC) #11
iannucci
On 2017/01/19 03:24:15, dnj wrote: > On 2017/01/19 03:17:48, iannucci wrote: > > On 2017/01/19 ...
3 years, 11 months ago (2017-01-19 03:27:43 UTC) #12
dnj
On 2017/01/19 03:27:43, iannucci wrote: > On 2017/01/19 03:24:15, dnj wrote: > > On 2017/01/19 ...
3 years, 11 months ago (2017-01-19 03:36:42 UTC) #13
dnj
rebased
3 years, 11 months ago (2017-01-19 22:34:05 UTC) #14
iannucci
lgtm
3 years, 11 months ago (2017-01-20 02:00:24 UTC) #15
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/2640813005/40001
3 years, 11 months ago (2017-01-20 02:03:08 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 02:13:52 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/8807f3cf1eca13c363f1f53443daa657ccf694b2

Powered by Google App Engine
This is Rietveld 408576698