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

Issue 1289323002: Fix miscellaneous prod bugs. (Closed)

Created:
5 years, 4 months ago by dnj
Modified:
5 years, 4 months ago
Reviewers:
dnj (Google), iannucci
CC:
chromium-reviews
Base URL:
https://github.com/luci/gae@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix miscellaneous prod bugs. - Fix bug where "nil" Parent field was being translated into non-nil empty key. - Use fully qualified AppID for key AppID in checkfilter. - Use a context-installed singleton to probe AppEngine runtime parameters. - Bump Task field count to match gae/AppEngine count. - Fix UTC time check when Locations are the same, but have different pointers. - Pass PropertyLoadSaver value array (rather than source) in prod/PutMulti :) - Use struct name as default even when it implements PropertyLoadSaver. R=iannucci@chromium.org Committed: https://github.com/luci/gae/commit/fcb2b4639aa8014c6de0f7f0c33d4260371e945e

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix key AppID check. #

Patch Set 3 : Moar fixes. #

Total comments: 3

Patch Set 4 : Passes tests, actual timezone check, $kind is default. #

Patch Set 5 : Remove superfluous function added in PS#1. #

Total comments: 6

Patch Set 6 : Some cleanup. #

Patch Set 7 : Fixed to be better: formally define "fully qualified AppID", use it. #

Patch Set 8 : Probe cache! #

Total comments: 2

Patch Set 9 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -42 lines) Patch
M filter/count/gi.go View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M impl/dummy/dummy.go View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M impl/memory/info.go View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M impl/prod/datastore_key.go View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M impl/prod/info.go View 1 2 3 4 5 6 7 8 4 chunks +38 lines, -5 lines 0 comments Download
M impl/prod/raw_datastore.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M impl/prod/taskqueue.go View 1 chunk +6 lines, -6 lines 0 comments Download
M service/datastore/checkfilter.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M service/datastore/checkfilter_test.go View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M service/datastore/context_test.go View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -3 lines 0 comments Download
M service/datastore/datastore_test.go View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M service/datastore/multiarg.go View 1 2 3 4 5 4 chunks +9 lines, -14 lines 0 comments Download
M service/datastore/pls.go View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M service/datastore/pls_impl.go View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M service/datastore/pls_test.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M service/datastore/properties.go View 1 2 3 3 chunks +14 lines, -2 lines 0 comments Download
M service/datastore/properties_test.go View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M service/info/interface.go View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (1 generated)
dnj (Google)
PTAL
5 years, 4 months ago (2015-08-14 16:00:25 UTC) #2
dnj (Google)
https://codereview.chromium.org/1289323002/diff/1/impl/prod/info.go File impl/prod/info.go (right): https://codereview.chromium.org/1289323002/diff/1/impl/prod/info.go#newcode37 impl/prod/info.go:37: id = "dev~" + id This primarily affected the ...
5 years, 4 months ago (2015-08-14 16:08:32 UTC) #3
dnj (Google)
Now with moar fixez!
5 years, 4 months ago (2015-08-15 01:51:26 UTC) #4
iannucci
https://codereview.chromium.org/1289323002/diff/40001/service/datastore/multiarg.go File service/datastore/multiarg.go (right): https://codereview.chromium.org/1289323002/diff/40001/service/datastore/multiarg.go#newcode271 service/datastore/multiarg.go:271: return pls, v.Type().Name() This looks really wrong to me. ...
5 years, 4 months ago (2015-08-15 02:23:53 UTC) #5
dnj (Google)
https://codereview.chromium.org/1289323002/diff/40001/service/datastore/multiarg.go File service/datastore/multiarg.go (right): https://codereview.chromium.org/1289323002/diff/40001/service/datastore/multiarg.go#newcode239 service/datastore/multiarg.go:239: return nil, fmt.Errorf("unable to extract $kind from %v", src) ...
5 years, 4 months ago (2015-08-15 02:32:33 UTC) #6
iannucci
On 2015/08/15 02:32:33, dnj (Google) wrote: > https://codereview.chromium.org/1289323002/diff/40001/service/datastore/multiarg.go > File service/datastore/multiarg.go (right): > > https://codereview.chromium.org/1289323002/diff/40001/service/datastore/multiarg.go#newcode239 ...
5 years, 4 months ago (2015-08-15 16:20:20 UTC) #7
iannucci
On 2015/08/15 16:20:20, iannucci wrote: > On 2015/08/15 02:32:33, dnj (Google) wrote: > > > ...
5 years, 4 months ago (2015-08-15 16:20:32 UTC) #8
iannucci
On 2015/08/15 16:20:32, iannucci wrote: > On 2015/08/15 16:20:20, iannucci wrote: > > On 2015/08/15 ...
5 years, 4 months ago (2015-08-15 16:21:50 UTC) #9
dnj (Google)
> > > Just add $kind as part of your PLS implementation? > > Or ...
5 years, 4 months ago (2015-08-15 17:50:36 UTC) #10
dnj (Google)
> "withMeta" is true, so I think I'm doing it right. The problem here is ...
5 years, 4 months ago (2015-08-15 17:53:04 UTC) #11
iannucci
On 2015/08/15 17:53:04, dnj (Google) wrote: > > "withMeta" is true, so I think I'm ...
5 years, 4 months ago (2015-08-15 17:55:00 UTC) #12
dnj (Google)
Yo dawg, I did some updates.
5 years, 4 months ago (2015-08-15 18:48:45 UTC) #13
iannucci
lgtm https://codereview.chromium.org/1289323002/diff/80001/service/datastore/checkfilter.go File service/datastore/checkfilter.go (right): https://codereview.chromium.org/1289323002/diff/80001/service/datastore/checkfilter.go#newcode123 service/datastore/checkfilter.go:123: } This is the wrong place to apply ...
5 years, 4 months ago (2015-08-15 21:50:54 UTC) #14
dnj (Google)
https://codereview.chromium.org/1289323002/diff/80001/service/datastore/checkfilter.go File service/datastore/checkfilter.go (right): https://codereview.chromium.org/1289323002/diff/80001/service/datastore/checkfilter.go#newcode123 service/datastore/checkfilter.go:123: } On 2015/08/15 21:50:54, iannucci wrote: > This is ...
5 years, 4 months ago (2015-08-16 06:11:07 UTC) #15
iannucci
Oh gross... I suspect that behavior will require changes in impl/memory as well. On Sat, ...
5 years, 4 months ago (2015-08-16 07:57:50 UTC) #16
dnj (Google)
On 2015/08/16 07:57:50, iannucci wrote: > Oh gross... I suspect that behavior will require changes ...
5 years, 4 months ago (2015-08-17 17:43:27 UTC) #17
iannucci
On 2015/08/17 17:43:27, dnj (Google) wrote: > On 2015/08/16 07:57:50, iannucci wrote: > > Oh ...
5 years, 4 months ago (2015-08-17 17:47:24 UTC) #18
dnj
Updated once more, haven't touched "impl/memory", but this update should obviate the need for it. ...
5 years, 4 months ago (2015-08-17 20:33:15 UTC) #19
iannucci
lgtm thanks :)
5 years, 4 months ago (2015-08-17 20:38:00 UTC) #20
iannucci
On 2015/08/17 20:38:00, iannucci wrote: > lgtm thanks :) Oh, could you update the description ...
5 years, 4 months ago (2015-08-17 21:16:22 UTC) #21
iannucci
lgtm :-) https://codereview.chromium.org/1289323002/diff/140001/impl/prod/info.go File impl/prod/info.go (right): https://codereview.chromium.org/1289323002/diff/140001/impl/prod/info.go#newcode113 impl/prod/info.go:113: probeKey := datastore.NewKey(c, "", "", 0, nil) ...
5 years, 4 months ago (2015-08-17 21:17:39 UTC) #22
dnj
Description updated, latest tested on prod, looks good. https://codereview.chromium.org/1289323002/diff/140001/impl/prod/info.go File impl/prod/info.go (right): https://codereview.chromium.org/1289323002/diff/140001/impl/prod/info.go#newcode113 impl/prod/info.go:113: probeKey ...
5 years, 4 months ago (2015-08-17 21:22:54 UTC) #23
iannucci
On 2015/08/17 21:22:54, dnj wrote: > Description updated, latest tested on prod, looks good. > ...
5 years, 4 months ago (2015-08-17 21:26:07 UTC) #24
dnj
5 years, 4 months ago (2015-08-17 21:26:55 UTC) #25
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
fcb2b4639aa8014c6de0f7f0c33d4260371e945e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698