Hello Jean-Daniel Cryans, Mike Percy,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/5727
to review the following change.
Change subject: WIP: Add a tool to purge UNDOs, and one to summarize data size
......................................................................
WIP: Add a tool to purge UNDOs, and one to summarize data size
Adds 'local_replica purge_undos', which removes all UNDO data from a
tablet (or set of tablets). This is useful while we don't have automatic
GC of UNDO data, since it seems that UNDOs can take quite a lot of
space.
Adds 'local_replica data_size' which lists the space usage of each of
the blocks in a tablet. This is useful to see where space is going.
This would be useful to have in an online context as well, but having it
offline is helpful to run against existing clusters on older versions.
WIP because this needs a test
Change-Id: Ibf0237f9d01f4ec332d1df545d2c2f51f64ce012
---
M src/kudu/tablet/rowset_metadata.cc
M src/kudu/tablet/rowset_metadata.h
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, 143 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/27/5727/1
--
To view, visit http://gerrit.cloudera.org:8080/5727
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf0237f9d01f4ec332d1df545d2c2f51f64ce012
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]>
Gerrit-Reviewer: Mike Percy <[email protected]>