Skip to content

Commit

Permalink
Copy ref tables in case there's no table to rebalance
Browse files Browse the repository at this point in the history
  • Loading branch information
agedemenli committed Mar 9, 2023
1 parent dd41d6e commit 3457f89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/distributed/operations/shard_rebalancer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1821,6 +1821,7 @@ RebalanceTableShards(RebalanceOptions *options, Oid shardReplicationModeOid)

if (list_length(options->relationIdList) == 0)
{
EnsureReferenceTablesExistOnAllNodesExtended(transferMode);
return;
}

Expand Down

0 comments on commit 3457f89

Please sign in to comment.