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

Issue 1846123002: Fix missing/broken ds.Stop handling in raw DS. (Closed)

Created:
4 years, 8 months ago by dnj
Modified:
4 years, 8 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-gae_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/gae@master
Target Ref:
refs/heads/master
Project:
luci-gae
Visibility:
Public.

Description

Fix missing/broken ds.Stop handling in raw DS. Several places were missed when patching "ds.Stop" to being correctly filtred at the top interface rather than the raw interface. At the top-level, GetAll and Count both did not filter the Stop error. At the filter level, several filters were ignoring error values from their callbacks. Also fixes an issue in count filter where the ds.Stop error was being incorrectly filtered at the RawInterface level. Add datastore iterating query filter. R=iannucci@chromium.org BUG= Committed: https://github.com/luci/gae/commit/f2a2648b0e74fb73c9443669852606328952a017

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebarse. #

Patch Set 3 : Better "count" helper function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
M filter/count/rds.go View 1 2 4 chunks +16 lines, -5 lines 0 comments Download
M filter/dsQueryBatch/filter.go View 1 1 chunk +1 line, -0 lines 0 comments Download
M filter/dscache/ds.go View 1 chunk +3 lines, -1 line 0 comments Download
M filter/txnBuf/query_merger.go View 1 chunk +0 lines, -3 lines 0 comments Download
M filter/txnBuf/state.go View 4 chunks +16 lines, -6 lines 0 comments Download
M service/datastore/datastore.go View 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
dnj
PTAL
4 years, 8 months ago (2016-04-01 02:41:40 UTC) #1
iannucci
looks ok, but needs rebase I think https://chromiumcodereview.appspot.com/1846123002/diff/1/filter/count/count.go File filter/count/count.go (right): https://chromiumcodereview.appspot.com/1846123002/diff/1/filter/count/count.go#newcode70 filter/count/count.go:70: func (e ...
4 years, 8 months ago (2016-04-01 02:45:42 UTC) #2
dnj
https://chromiumcodereview.appspot.com/1846123002/diff/1/filter/count/count.go File filter/count/count.go (right): https://chromiumcodereview.appspot.com/1846123002/diff/1/filter/count/count.go#newcode70 filter/count/count.go:70: func (e *Entry) upFilter(err, filter error, filterMore ...error) error ...
4 years, 8 months ago (2016-04-01 21:41:05 UTC) #3
iannucci
lgtm
4 years, 8 months ago (2016-04-01 21:44:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846123002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846123002/40001
4 years, 8 months ago (2016-04-01 21:45:28 UTC) #6
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 21:53:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/gae/commit/f2a2648b0e74fb73c9443669852606328952a017

Powered by Google App Engine
This is Rietveld 408576698