-
Notifications
You must be signed in to change notification settings - Fork 48
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
Use a delimiter between host name and it's replication index #11
Comments
LopatkinEvgeniy
changed the title
Add a delimiter between host name and it's replication ID
Use a delimiter between host name and it's replication index
Jan 20, 2020
Why would it produce collisions? |
Oh, sorry. It will not produce collisions. I reproduce this because i tune replicationFactor in my copy of code. If replicationFactor will be greater than 10 it may produce collisions:
But maybe a delimiter is still not a bad idea. Because it will help to avoid collisions that i receive when i try to tune this library. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What if host names will be: host1, host2, ... host21, host22. Current mechanism of replications naming will produce a lot of collisions. Some sort of delimiter is required:
For example unicode 'SYMBOL FOR UNIT SEPARATOR' may be used: https://www.fileformat.info/info/unicode/char/241f/index.htm
The text was updated successfully, but these errors were encountered: