DescriptionCreate unbuffered Tumble entry point for LogDog.
Add RegisterInTransaction, an entry point for Tumble that initiates a
standard datastore transaction, performs an operation, and registers the
ensuing mutation against it. This is different from RunMutation in that
it doesn't require a Mutation as a starting point and also doesn't
create a transaction buffer.
Leverage this in LogDog's "registerStream" to reduce the overhead of
stream registration.
BUG=chromium:675485
TEST=unit
Review-Url: https://codereview.chromium.org/2592753002
Committed: https://github.com/luci/luci-go/commit/464d9ab6bc1614432afa076e4416b0033028cd7b
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove unrelated change. #
Total comments: 2
Patch Set 3 : Add bench, update. #
Messages
Total messages: 12 (5 generated)
|