Skip to main content

coalesce_hot

Function coalesce_hot 

Source
pub fn coalesce_hot(key: &StrongDigest, replicas: u8) -> Result<u8, QdnfError>
Expand description

Coalesce identical scoped reads onto one replica in 1..=replicas.

replicas must be 1..=3. Same key always maps to the same replica index.