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

BackendStore: Remove (ip,port) -> Backend mapping #65

Merged
merged 1 commit into from
Nov 28, 2021

Conversation

adamncasey
Copy link
Contributor

Reported in #63, the extra mapping of (ip, port) -> Backend prevents
inserting two backends with different names but the same port, which
will break a very common configuration.

There is no usage of this extra BackendStore mapping, outside of unit
tests.

An (internal) git history search for git log -S lookup -p also suggests
there has never been any usage of this method.

Let's remove it & fix this behaviour - thanks for the report @kriptor

Closes #63

Reported in bloomberg#63, the extra mapping of (ip, port) -> Backend prevents
inserting two backends with different names but the same port, which
will break a very common configuration.

There is no usage of this extra BackendStore mapping, outside of unit
tests.

An (internal) git history search for `git log -S lookup -p` also suggests
there has never been any usage of this method.

Let's remove it & fix this behaviour - thanks for the report @kriptor
@adamncasey adamncasey requested a review from alaric November 26, 2021 14:35
@alaric alaric merged commit 357a652 into bloomberg:main Nov 28, 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

Successfully merging this pull request may close these issues.

Can't add more than one DNS based backends with the same port
2 participants