tenant-schema-isolation-complete-view
Onur Tirtir 2023-10-16 16:13:31 +03:00
parent 01b2bf5e3c
commit ac97d54515
3 changed files with 1 additions and 6 deletions

View File

@ -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,

View File

@ -598,7 +598,6 @@ GetRebalanceSteps(RebalanceOptions *options)
PrepareRebalancerPlacementSeparationContext(
activeWorkerList,
FlattenNestedList(activeShardPlacementListList),
options->workerNode,
&context.shardAllowedOnNodeUDF);
return RebalancePlacementUpdates(activeWorkerList,

View File

@ -26,9 +26,6 @@ extern RebalancerPlacementSeparationContext * PrepareRebalancerPlacementSeparati
List
*
activeShardPlacementList,
WorkerNode
*
drainWorkerNode,
FmgrInfo
*
shardAllowedOnNodeUDF);