You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/consistent-hashing/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ We define the consistent `n-choose-rk` replication as follows:
43
43
3. when `n` increases by one, exactly one node in the chosen set will be changed with probability `k/(n+1)`.
44
44
45
45
For simplicity, nodes are represented by integers `0..n`.
46
-
Given `k` independent consistent hash functions `h_i(n)` for a given key, the following algorithm will have the desired properties:
46
+
Given `k` independent consistent hash functions `consistent_hash(key, k, n)` for a given `key`, the following algorithm will have the desired properties:
0 commit comments