You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Gabriella Lotz (Jira)" <ji...@apache.org> on 2026/08/28 14:59:00 UTC

[jira] [Commented] (KUDU-3761) Follower preference for LocationBalancingAlgo

    [ https://issues.apache.org/jira/browse/KUDU-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109246#comment-18109246 ] 

Gabriella Lotz commented on KUDU-3761:
--------------------------------------

*Follow-up (before close):* Drop the default value for prefer_follower_moves on TwoDimensionalGreedyAlgo too (same pattern as LocationBalancingAlgo). Requires updating the zero/one-arg call sites in rebalance_algo-test.cc to pass both EqualSkewOption and prefer_follower_moves explicitly. Raised by Ashwani on patch set 6. 

The change: [https://gerrit.cloudera.org/c/24683/]

 

> Follower preference for LocationBalancingAlgo
> ---------------------------------------------
>
>                 Key: KUDU-3761
>                 URL: https://issues.apache.org/jira/browse/KUDU-3761
>             Project: Kudu
>          Issue Type: Sub-task
>            Reporter: Gabriella Lotz
>            Assignee: Gabriella Lotz
>            Priority: Major
>
> Cross-location moves via {{LocationBalancingAlgo}} have zero follower awareness. Fixing this requires:
> 1. Passing {{ts_with_followers_by_table_and_tag}} into {{{}LocationBalancingAlgo::GetNextMove(){}}}{{{}, as currently it only receives LocationBalancingInfo{}}}
> 2. Applying the same two-candidate (non-leader vs fallback) pattern as {{TwoDimensionalGreedyAlgo}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)