Hello Alexey Serbin, Kudu Jenkins,

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

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

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

Change subject: [txns][tools] tool to list transactions
......................................................................

[txns][tools] tool to list transactions

This patch adds a tool to iterate through the transactions, listing their
states and interesting metadata. It includes some optional flags, shown
specified below:

$ ./bin/kudu txn list 0.0.0.0:8764 --min_txn_id=3 --max_txn_id=5 
--columns=txn_id,user,state,commit_datetime,commit_hybridtime
 txn_id | user  |   state   |        commit_datetime        |       
commit_hybridtime
--------+-------+-----------+-------------------------------+--------------------------------
 3      | awong | COMMITTED | Wed, 12 May 2021 00:06:08 GMT | P: 
1620777968630364 usec, L: 0
 4      | awong | COMMITTED | Wed, 12 May 2021 00:06:08 GMT | P: 
1620777968671147 usec, L: 0
 5      | awong | COMMITTED | Wed, 12 May 2021 00:06:08 GMT | P: 
1620777968713376 usec, L: 0

I suspect we'll want to limit the output by default to only show open
transactions, but that will come as a follow-up change.

Change-Id: I6136fe8eea7842802c5a84609a0c8e2101f6a693
---
M src/kudu/tools/CMakeLists.txt
M src/kudu/tools/kudu-tool-test.cc
A src/kudu/tools/kudu-txn-cli-test.cc
M src/kudu/tools/tool_action.h
A src/kudu/tools/tool_action_txn.cc
M src/kudu/tools/tool_main.cc
6 files changed, 397 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/70/17370/10
--
To view, visit http://gerrit.cloudera.org:8080/17370
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6136fe8eea7842802c5a84609a0c8e2101f6a693
Gerrit-Change-Number: 17370
Gerrit-PatchSet: 10
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to