Mike Percy has submitted this change and it was merged. Change subject: [tools] Tombstone the tablet with "local_replica delete" ......................................................................
[tools] Tombstone the tablet with "local_replica delete" This change makes the default action of 'local_replica delete' tool to tombstone the tablet. Release 1.1 shipped the tool with "--clean_unsafe" flag which let you delete the replica from the disks. Deleting removes consensus metadata for the given tablet and hence voilates Raft vote durability requirements. Tombstoning on the other hand will preserve Raft votes for the specfied tablet on the local node, hence is a safer choice to be the default action for this tool. This adds the support for tombstone action for this tool which was unsupported in previous release. Change-Id: Ia773de475431eb85fb0dbe724d524e8dd59b1b12 Reviewed-on: http://gerrit.cloudera.org:8080/5191 Tested-by: Kudu Jenkins Reviewed-by: Mike Percy <[email protected]> --- M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action_local_replica.cc 2 files changed, 145 insertions(+), 54 deletions(-) Approvals: Mike Percy: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/5191 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia773de475431eb85fb0dbe724d524e8dd59b1b12 Gerrit-PatchSet: 7 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Dinesh Bhat <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Dinesh Bhat <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]>
