Skip to content

Commit 7deb027

Browse files
committed
Update README.md
1 parent f3bbcd9 commit 7deb027

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/consistent-hashing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ We define the consistent `n-choose-k` replication as follows:
112112

113113
1. For a given number `n` of nodes, choose `k` distinct nodes `S`.
114114
2. For a given `key` the chosen set of nodes must be uniformly chosen from all possible sets of size `k`.
115-
3. When `n` increases by one, exactly one node in the chosen set will be changed.
115+
3. When `n` increases by one, at most one node in the chosen set will be changed.
116116
4. and the node will be changed with probability `k/(n+1)`.
117117

118118
In the remainder of this section we prove that the `consistent_choose_k` algorithm satisfies those properties.

0 commit comments

Comments
 (0)