[
https://issues.apache.org/jira/browse/KUDU-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriella Lotz reassigned KUDU-3827:
------------------------------------
Assignee: Gabriella Lotz
> Auto-rebalancers give up on the whole round when a tablet isn't running
> -----------------------------------------------------------------------
>
> Key: KUDU-3827
> URL: https://issues.apache.org/jira/browse/KUDU-3827
> Project: Kudu
> Issue Type: Sub-task
> Reporter: Gabriella Lotz
> Assignee: Gabriella Lotz
> Priority: Major
>
> Both the auto-rebalancer and the auto-leader-rebalancer go through every
> tablet of every table and look up its locations with GetTabletLocations().
> For a tablet that isn't in the RUNNING state yet, for example one of a table
> that's still being created or of a newly added range partition, that call
> returns ServiceUnavailable. For a deleted tablet it returns NotFound. The
> rebalancers pass that error up with RETURN_NOT_OK, so a single such tablet
> makes the whole round fail.
> Proposed fix: skip tablets whose lookup returns NotFound or as the rest of
> the rebalancer code already does for moves it can't make. Return OK when the
> per-tablet leader check fails, the same way the earlier checks do.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)