Skip to main content

key_hash

Function key_hash 

Source
pub fn key_hash(key: &[u8]) -> u64
Expand description

Hash a key to a 64-bit value. Used to derive vnode IDs and for any other keyed-partitioning decisions.

Fixed to xxh3 so all pipeline stages produce the same vnode for the same key without needing to share a hasher instance.