[
https://issues.apache.org/jira/browse/KUDU-3759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriella Lotz updated KUDU-3759:
---------------------------------
Description: (was: {*}File{*}:
{{{}[src/kudu/rebalance/rebalance_algo.cc](src/kudu/rebalance/rebalance_algo.cc){}}},
inside {{TwoDimensionalGreedyAlgo::GetNextMove()}}
The {{equal_range(max_table_skew)}} loop currently iterates {{std::multimap}}
insertion order, making the first equal-skew table always "win." Fix: collect
the range into a {{{}vector<TableBalanceInfo>{}}}, shuffle it with the existing
{{{}mt19937 generator_{}}}, then run the follower-preference loop over the
shuffled vector.)
> Randomize equal-skew table selection
> ------------------------------------
>
> Key: KUDU-3759
> URL: https://issues.apache.org/jira/browse/KUDU-3759
> Project: Kudu
> Issue Type: Sub-task
> Reporter: Gabriella Lotz
> Assignee: Gabriella Lotz
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)