Skip to main content

SHARD_SIZE

Constant SHARD_SIZE 

Source
pub const SHARD_SIZE: u32 = 64;
Expand description

Pages per storage shard. Shared rather than each side keeping its own copy: the client cuts staged commit segments on these boundaries and the engine rejects segments that are not cut on them, so two definitions could disagree and make every large commit fail.