mirror of https://github.com/citusdata/citus.git
indent
parent
80c982176e
commit
d2fc258e62
|
@ -168,8 +168,8 @@ CreateShardsWithRoundRobinPolicy(Oid distributedTableId, int32 shardCount,
|
||||||
char shardStorageType = ShardStorageType(distributedTableId);
|
char shardStorageType = ShardStorageType(distributedTableId);
|
||||||
|
|
||||||
int64 shardOffset = 0;
|
int64 shardOffset = 0;
|
||||||
if (EnableSingleShardTableMultiNodePlacement && shardCount == 1
|
if (EnableSingleShardTableMultiNodePlacement && shardCount == 1 &&
|
||||||
&& shardStorageType == SHARD_STORAGE_TABLE)
|
shardStorageType == SHARD_STORAGE_TABLE)
|
||||||
{
|
{
|
||||||
/* For single shard distributed tables, use the colocationId to offset
|
/* For single shard distributed tables, use the colocationId to offset
|
||||||
* where the shard is placed.
|
* where the shard is placed.
|
||||||
|
|
Loading…
Reference in New Issue