Skip to main content

RECORDS_PER_SHARD

Constant RECORDS_PER_SHARD 

Source
const RECORDS_PER_SHARD: usize = 4096;
Expand description

Most records one shard is meant to hold before the map is split further: a record walk or an expiry sweep holds one shard lock at a time, so this bounds how long a lock is held.