Skip to content

Potential collision between member name and replica ID #17

@jakedt

Description

@jakedt

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions