You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Will Berkeley (Code Review)" <ge...@cloudera.org> on 2018/06/21 23:53:04 UTC
[kudu-CR] [tools] add 'kudu tablet set attributes' command
Will Berkeley has uploaded a new patch set (#7) to the change originally created by Alexey Serbin. ( http://gerrit.cloudera.org:8080/10536 )
Change subject: [tools] add 'kudu tablet set_attributes' command
......................................................................
[tools] add 'kudu tablet set_attributes' command
Introduced 'kudu tablet set_attributes' command for the kudu CLI
tool. With this tool, it is possible to set/reset the 'promote' and
'replace' attributes in the replica's Raft configuration.
This functionality might be useful for pre-KUDU-2443 clusters running
the 3-4-3 replica management scheme after an attempt to move a replica
of a tablet with replication factor of 1. In that case, the system
would add a non-voter replica and then evict it, doing that over and
over again (that's what KUDU-2443 is about).
Aside from the hapless use-case described above, this functionality
might be useful when removing the 'replace' attribute set on a replica
by the 'kudu tablet change_config move_replica' command before the
move has completed.
Change-Id: Ib304715100ba9062558863f140aa309fd604ace3
---
M src/kudu/tools/kudu-admin-test.cc
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_tablet.cc
3 files changed, 212 insertions(+), 11 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/36/10536/7
--
To view, visit http://gerrit.cloudera.org:8080/10536
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib304715100ba9062558863f140aa309fd604ace3
Gerrit-Change-Number: 10536
Gerrit-PatchSet: 7
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>