Hello Tidy Bot, Kudu Jenkins, Andrew Wong,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/17526
to look at the new patch set (#3).
Change subject: KUDU-3265 txn-related options to 'kudu perf loadgen'
......................................................................
KUDU-3265 txn-related options to 'kudu perf loadgen'
This patch adds the following txn-related options to the
'kudu perf loadgen' tool:
(1) --txn_start
(2) --txn_commit
(3) --txn_rollback
With those, it's possible to insert rows into the table in the scope
of a multi-row transaction, and then (1) leave the transaction
as is, or (2) commit the transaction, or (3) rollback the transaction
explicitly.
Semantically, specifying --txn_commit or --txn_rollback implies setting
--txn_start as well.
This patch partially addresses KUDU-3265. A follow-up patch will add
functionality to write and read transactional tokens in serialized form,
so the newly introduced --txn_start option starts making more sense.
With that, it will be possible to start a new multi-row transaction
in one session of the kudu CLI tool, and then continue adding more rows
in another session of the kudu CLI tool, passing around transactional
token.
Change-Id: I73750af589d432c6ae973439264f55c08a327aa7
---
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_perf.cc
2 files changed, 231 insertions(+), 28 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/26/17526/3
--
To view, visit http://gerrit.cloudera.org:8080/17526
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I73750af589d432c6ae973439264f55c08a327aa7
Gerrit-Change-Number: 17526
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)