mirror of https://github.com/citusdata/citus.git
fix
parent
01b2bf5e3c
commit
ac97d54515
|
@ -99,7 +99,6 @@ static int WorkerNodeListGetNodeWithGroupId(List *workerNodeList, int32 nodeGrou
|
|||
RebalancerPlacementSeparationContext *
|
||||
PrepareRebalancerPlacementSeparationContext(List *activeWorkerNodeList,
|
||||
List *rebalancePlacementList,
|
||||
WorkerNode *drainWorkerNode,
|
||||
FmgrInfo *shardAllowedOnNodeUDF)
|
||||
{
|
||||
HTAB *nodePlacementGroupHash =
|
||||
|
@ -115,7 +114,7 @@ PrepareRebalancerPlacementSeparationContext(List *activeWorkerNodeList,
|
|||
rebalancePlacementList = SortList(rebalancePlacementList, CompareShardPlacements);
|
||||
|
||||
InitRebalancerPlacementSeparationContext(context, activeWorkerNodeList,
|
||||
rebalancePlacementList, drainWorkerNode);
|
||||
rebalancePlacementList);
|
||||
|
||||
TryAssignPlacementGroupsToNodeGroups(context,
|
||||
activeWorkerNodeList,
|
||||
|
|
|
@ -598,7 +598,6 @@ GetRebalanceSteps(RebalanceOptions *options)
|
|||
PrepareRebalancerPlacementSeparationContext(
|
||||
activeWorkerList,
|
||||
FlattenNestedList(activeShardPlacementListList),
|
||||
options->workerNode,
|
||||
&context.shardAllowedOnNodeUDF);
|
||||
|
||||
return RebalancePlacementUpdates(activeWorkerList,
|
||||
|
|
|
@ -26,9 +26,6 @@ extern RebalancerPlacementSeparationContext * PrepareRebalancerPlacementSeparati
|
|||
List
|
||||
*
|
||||
activeShardPlacementList,
|
||||
WorkerNode
|
||||
*
|
||||
drainWorkerNode,
|
||||
FmgrInfo
|
||||
*
|
||||
shardAllowedOnNodeUDF);
|
||||
|
|
Loading…
Reference in New Issue