Replica names are created by smashing the member name and the replica number together.
|
key := []byte(fmt.Sprintf("%s%d", name, i)) |
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.