[
https://issues.apache.org/jira/browse/KUDU-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469880#comment-17469880
]
ASF subversion and git services commented on KUDU-3328:
-------------------------------------------------------
Commit a157dece2f7bd8636eb90148edeb202537c9b6a8 in kudu's branch
refs/heads/master from zhangyifan27
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=a157dec ]
KUDU-3328: make rebalancer tool take into account maintenance mode
At present kudu master would not assign new replicas on maintenance tservers
but we could still move replicas to them through the rebalancer tool.
Sometimes we want this kind of operation to be disabled because the maintenance
tservers would be restarted or decommissioned in a short time.
This patch improves the rebalancer tool's behavior. If maintenance tservers are
not specified in 'ignored_tservers' and users don't specify
'-force_rebalance_replicas_on_maintenance_tservers' neither, the rebalancer tool
couldn't get replica moves and return IllegalState.
Change-Id: I843a2521a811ab67c5f98bb43cc84367edb3fe0b
Reviewed-on: http://gerrit.cloudera.org:8080/18074
Tested-by: Kudu Jenkins
Reviewed-by: Andrew Wong <[email protected]>
> Disable move replicas to tablet servers in maintenance mode
> -----------------------------------------------------------
>
> Key: KUDU-3328
> URL: https://issues.apache.org/jira/browse/KUDU-3328
> Project: Kudu
> Issue Type: Improvement
> Reporter: YifanZhang
> Assignee: YifanZhang
> Priority: Minor
>
> When put some tablet servers in maintenance mode, new replicas are not
> expected to be added to these tservers, but we still could run`kudu cluster
> rebalance` or `kudu tablet change_config move_replica` to move replicas to
> the tservers under maintenance. These operations should be disabled.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)