Hello Alexey Serbin, Yuqi Du, Yifan Zhang, Kudu Jenkins, KeDeng, Wang Xixu,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/19357
to look at the new patch set (#5).
Change subject: [tools] Add 'kudu local_replica tmeta delete_rowsets' to delete
rowsets from tablet
......................................................................
[tools] Add 'kudu local_replica tmeta delete_rowsets' to delete rowsets from
tablet
There are some use cases we need to delete rowsets from a tablet.
For example:
1. Some blocks are corrupted in a single node cluster, the server cannot be
started. Note: some data will be lost in this case.
2. Some rowsets are fully deleted but the blocks can not be GCed (KUDU-3376).
Note: no data will be lost in this case.
Although we can use 'kudu pbc edit' to achieve this aim, but it's very hard to
operate when the tablet-metadata is dozens of megabytes.
This patch introduces a CLI tool 'kudu local_replica tmeta delete_rowsets'
to delete rowsets from a tablet, which is easier to use.
Change-Id: If2cf9035babf4c3af4c238cebe8dcecd2c65848f
---
M src/kudu/tablet/tablet_metadata.cc
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_common.cc
M src/kudu/tools/tool_action_common.h
M src/kudu/tools/tool_action_local_replica.cc
5 files changed, 255 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/57/19357/5
--
To view, visit http://gerrit.cloudera.org:8080/19357
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If2cf9035babf4c3af4c238cebe8dcecd2c65848f
Gerrit-Change-Number: 19357
Gerrit-PatchSet: 5
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: KeDeng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Wang Xixu <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Yuqi Du <[email protected]>