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

MLab-NS makes tiny distinctions matter too much #94

Open
pboothe opened this issue Mar 28, 2017 · 0 comments
Open

MLab-NS makes tiny distinctions matter too much #94

pboothe opened this issue Mar 28, 2017 · 0 comments

Comments

@pboothe
Copy link
Contributor

pboothe commented Mar 28, 2017

MLab-NS always chooses the geographically closest site or sites. This means that in choosing between two close sites, one of which is 1000 miles away and the other is 1001, MLab-NS will never return a site from the second group. This means that people entering site locations need to make sure that the floating point numbers they put in for lat/lon are always equal with one another. Requiring floating point equality in order for the system to maintain a sensible behavior is dumb and wrong.

MLab-NS should stop making distinctions without a difference. If the distance to the closest sites is within, say, 50 miles and/or 5% of one another, then all sites meeting that criteria should be included in the choice of site.

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