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

Issue 1364333002: Add AutoIndex (Closed)

Created:
5 years, 3 months ago by iannucci
Modified:
5 years, 3 months ago
CC:
chromium-reviews, infra-reviews+luci-gae_chromium.org
Base URL:
https://github.com/luci/gae.git@add_full_consistency
Target Ref:
refs/heads/master
Project:
luci-gae
Visibility:
Public.

Description

Add AutoIndex to datastore Testable interface. This allows test writers to set Consistency(true) and AutoIndex(true), and pretend like the datastore is a fully consistent database which always has perfect indexes. Will be used for the recursive transaction manager to maintained tiered automatic mini-datastores in memory. Also add some more tests for queries in transactions, and YAML rendering for *IndexDefinition. R=dnj@chromium.org, estaab@chromium.org, maruel@chromium.org, tandrii@chromium.org, vadimsh@chromium.org BUG=533021 , https://github.com/luci/gae/issues/9 Committed: https://github.com/luci/gae/commit/ebfadf7ba75ef6e061d957f906b9370d58a498a7

Patch Set 1 #

Total comments: 9

Patch Set 2 : fix comments, rebase, fix count #

Patch Set 3 : symbollls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -37 lines) Patch
M impl/memory/datastore.go View 1 4 chunks +26 lines, -5 lines 0 comments Download
M impl/memory/datastore_data.go View 1 2 chunks +36 lines, -0 lines 0 comments Download
M impl/memory/datastore_index.go View 1 chunk +1 line, -1 line 0 comments Download
M impl/memory/datastore_index_selection.go View 1 2 chunks +17 lines, -2 lines 0 comments Download
M impl/memory/datastore_query_execution_test.go View 1 6 chunks +66 lines, -2 lines 0 comments Download
M pre-commit-go.yml View 1 1 chunk +0 lines, -2 lines 0 comments Download
M service/datastore/index.go View 1 2 1 chunk +36 lines, -1 line 0 comments Download
M service/datastore/index_test.go View 1 chunk +63 lines, -24 lines 0 comments Download
M service/datastore/testable.go View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
iannucci
5 years, 3 months ago (2015-09-24 18:32:37 UTC) #1
Vadim Sh.
https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go File service/datastore/index.go (right): https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go#newcode240 service/datastore/index.go:240: ret := &bytes.Buffer{} nit: just bytes.Buffer{}, no need for ...
5 years, 3 months ago (2015-09-24 19:17:30 UTC) #2
iannucci
On 2015/09/24 at 19:17:30, vadimsh wrote: > https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go > File service/datastore/index.go (right): > > https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go#newcode240 ...
5 years, 3 months ago (2015-09-24 19:45:00 UTC) #3
Vadim Sh.
lgtm (with nits in previous comment)
5 years, 3 months ago (2015-09-24 19:49:59 UTC) #4
iannucci
https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go File service/datastore/index.go (right): https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go#newcode240 service/datastore/index.go:240: ret := &bytes.Buffer{} On 2015/09/24 at 19:17:29, Vadim Sh. ...
5 years, 3 months ago (2015-09-24 19:52:35 UTC) #5
Vadim Sh.
lgtm https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go File service/datastore/index.go (right): https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go#newcode240 service/datastore/index.go:240: ret := &bytes.Buffer{} On 2015/09/24 19:52:34, iannucci wrote: ...
5 years, 3 months ago (2015-09-24 19:57:50 UTC) #6
iannucci
https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go File service/datastore/index.go (right): https://codereview.chromium.org/1364333002/diff/1/service/datastore/index.go#newcode240 service/datastore/index.go:240: ret := &bytes.Buffer{} On 2015/09/24 at 19:57:50, Vadim Sh. ...
5 years, 3 months ago (2015-09-24 20:12:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364333002/40001
5 years, 3 months ago (2015-09-24 20:13:10 UTC) #10
commit-bot: I haz the power
5 years, 3 months ago (2015-09-24 20:14:24 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/gae/commit/ebfadf7ba75ef6e061d957f906b9370d58a498a7

Powered by Google App Engine
This is Rietveld 408576698