Skip to content

ClusterPlan

Defined in: packages/sharding/src/context.ts:97

The result of planClusters.

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: number

Defined in: packages/sharding/src/context.ts:103

The count asked for, before capping at the number of shards.


source: ClusterCountSource

Defined in: packages/sharding/src/context.ts:101

Where the cluster count came from.