Hello Tidy Bot, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/17526

to look at the new patch set (#2).

Change subject: WIP KUDU-3265 txn-related options to 'kudu perf loadgen'
......................................................................

WIP 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.

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 should 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.

WIP:
  * collect initial feedback
  * add tests

Change-Id: I73750af589d432c6ae973439264f55c08a327aa7
---
M src/kudu/tools/tool_action_perf.cc
1 file changed, 102 insertions(+), 28 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/26/17526/2
--
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: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)

Reply via email to