Skip to main content

SHARD_MULTIPLIER

Constant SHARD_MULTIPLIER 

Source
const SHARD_MULTIPLIER: u64 = 0x9E37_79B9_7F4A_7C15;
Expand description

The multiplier that picks a record’s shard from its id (a golden-ratio constant), so that ids that are not uniformly random (tests) still spread over the shards.