From ae020d30694a78108058fbce48a0208e71a89790 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Thu, 12 Sep 2024 14:12:46 +0800 Subject: [PATCH] doc minor refine Signed-off-by: Bugen Zhao --- src/common/src/hash/consistent_hash/mapping.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/hash/consistent_hash/mapping.rs b/src/common/src/hash/consistent_hash/mapping.rs index 584e3d6276fd..80d5a56941cf 100644 --- a/src/common/src/hash/consistent_hash/mapping.rs +++ b/src/common/src/hash/consistent_hash/mapping.rs @@ -140,7 +140,7 @@ impl VnodeMapping { } /// Create a vnode mapping with the single item. Should only be used for singletons. - // TODO(var-vnode): make vnode count 1. + // TODO(var-vnode): make vnode count 1, also `Distribution::vnode_count` pub fn new_single(item: T::Item) -> Self { Self::new_uniform(std::iter::once(item), VirtualNode::COUNT) }