consistent
consistent copied to clipboard
Potential collision between member name and replica ID
Replica names are created by smashing the member name and the replica number together.
https://github.com/buraksezer/consistent/blob/a1a9c4ab8d2da437ecbf64219cc0b6cf58639b7e/consistent.go#L250
Member names that end in numbers may collide with replicas of other members. For example, with member names of member
and member1
with a ReplicationFactor
of 11
, there will be a collision with the 11th replica of member
: member10
and the 1st replica of member1
: member10
.