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 (#7).
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 --show_hybrid_timestamps --min_txn_id=1
--max_txn_id=2
txn_id | user | state | commit_ts (datetime) | commit_ts
(hybrid timestamp)
--------+-------+-----------+-------------------------------+--------------------------------
1 | awong | COMMITTED | Thu, 29 Apr 2021 22:12:53 GMT | P:
1619734373050242 usec, L: 0
2 | awong | ABORTED | <none> | <none>
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, 331 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/70/17370/7
--
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: 7
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)