pull/7572/head
Vinod Sridharan 2024-04-04 01:07:20 +00:00
parent 80c982176e
commit d2fc258e62
1 changed files with 2 additions and 2 deletions

View File

@ -168,8 +168,8 @@ CreateShardsWithRoundRobinPolicy(Oid distributedTableId, int32 shardCount,
char shardStorageType = ShardStorageType(distributedTableId);
int64 shardOffset = 0;
if (EnableSingleShardTableMultiNodePlacement && shardCount == 1
&& shardStorageType == SHARD_STORAGE_TABLE)
if (EnableSingleShardTableMultiNodePlacement && shardCount == 1 &&
shardStorageType == SHARD_STORAGE_TABLE)
{
/* For single shard distributed tables, use the colocationId to offset
* where the shard is placed.