pub fn vnode_range(range: &TableKeyRange) -> (usize, usize)
Expand description
Returns left inclusive and right exclusive vnode index of the given range.
ยงVnode count unawareness
Note that this function is not aware of the vnode count that is actually used in this table.
For example, if the total vnode count is 256, Unbounded
can be a correct end bound for vnode 255,
but this function will still return Excluded(256)
.
See also vnode
and end_bound_of_vnode
which hold such invariant.