Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/10536


Change subject: [kudu CLI] kudu tablet set_attributes sub-command
......................................................................

[kudu CLI] kudu tablet set_attributes sub-command

Introduced 'kudu tablet set_attributes' sub-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' sub-command before the
move has completed.

Change-Id: Ib304715100ba9062558863f140aa309fd604ace3
---
M src/kudu/tools/tool_action_tablet.cc
1 file changed, 62 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/36/10536/1
--
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: newchange
Gerrit-Change-Id: Ib304715100ba9062558863f140aa309fd604ace3
Gerrit-Change-Number: 10536
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to