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

Make the DC names in DNS names always be two characters and never collide #13

Open
yaronyg opened this issue Sep 8, 2017 · 0 comments

Comments

@yaronyg
Copy link
Owner

yaronyg commented Sep 8, 2017

Right now we create the data center name segment of a DNS name by taking the first characters of the DC's name. In most cases those are two characters but in some cases it is three characters. And there is at least one pair of DCs that have the same two character string!

What we need is a mapping table that guarantees the name will always be exactly two characters without collisions.

The reason for 2 characters is just space. We could go to three. But some names are only 24 characters long and we need to fit a lot in there.

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

1 participant