ClusterPlan
Defined in: packages/sharding/src/context.ts:97
The result of planClusters.
Properties
Section titled “Properties”clusters
Section titled “clusters”clusters:
number[][]
Defined in: packages/sharding/src/context.ts:99
Shards of each cluster, by cluster ID. Never empty: there are at most as many clusters as shards.
requested
Section titled “requested”requested:
number
Defined in: packages/sharding/src/context.ts:103
The count asked for, before capping at the number of shards.
source
Section titled “source”source:
ClusterCountSource
Defined in: packages/sharding/src/context.ts:101
Where the cluster count came from.