(Go: >> BACK << -|- >> HOME <<)

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential collision between member name and replica ID #17

Open
jakedt opened this issue Aug 6, 2021 · 0 comments
Open

Potential collision between member name and replica ID #17

jakedt opened this issue Aug 6, 2021 · 0 comments
Assignees

Comments

@jakedt
Copy link
jakedt commented Aug 6, 2021

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.

@buraksezer buraksezer self-assigned this Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants