Hello Tidy Bot, Kudu Jenkins, Andrew Wong, Todd Lipcon, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/9393 to look at the new patch set (#4). Change subject: KUDU-2290: Tool to re-create a tablet ...................................................................... KUDU-2290: Tool to re-create a tablet This adds a tool `kudu tablet unsafe_replace_tablet` that can be used to replace a tablet with another having the same partition information. This tool is useful when a tablet is has permanently lost all replicas because it can repair the tablet's table. Before, the table would have to be recreated to recover from a permanently lost tablet. The original tablet is moved to a new, specially-named table, named like replaced_<table name>_<table id>_<tablet id> so that bad replicas are "quarantined" so they can be investigated, and if a replica of the original tablet can be recovered, its data can be scanned and recovered relatively easily. Note that, if the tablet recovers quickly enough after being replaced, its possible for clients with cache entries from before the replace to read the rows from the replaced tablet, but eventually this will stop. Change-Id: Ifbefbde68e3ca724f04efe0426a3906e5c33ed3c --- M src/kudu/client/client-internal.cc M src/kudu/client/meta_cache.cc M src/kudu/integration-tests/cluster_itest_util.h M src/kudu/master/catalog_manager.cc M src/kudu/master/catalog_manager.h M src/kudu/master/master.proto M src/kudu/master/master_service.cc M src/kudu/master/master_service.h M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action_common.cc M src/kudu/tools/tool_action_tablet.cc 11 files changed, 367 insertions(+), 15 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/93/9393/4 -- To view, visit http://gerrit.cloudera.org:8080/9393 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ifbefbde68e3ca724f04efe0426a3906e5c33ed3c Gerrit-Change-Number: 9393 Gerrit-PatchSet: 4 Gerrit-Owner: Will Berkeley <wdberke...@gmail.com> Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Will Berkeley <wdberke...@gmail.com>