-
Notifications
You must be signed in to change notification settings - Fork 36
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
qfix: DNSNSEResolve server should correctly translate NSE for floating side and for querying side #1027
qfix: DNSNSEResolve server should correctly translate NSE for floating side and for querying side #1027
Conversation
Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
I'm a little confused... we is something registering in domain @floating showing up in our local registry as a local ns? |
@edwarnicke Its about using For example, Use-case:
Actual response:
Expected response:
This patch makes actual = expected. |
Your actual response is what I would have expected... why do you expect the response to clip the domain out of a label? |
By my view it could affect discover chain element, because it will not able to match ns by labels. |
@denis-tingaikin Could you say more about that, I don't see it... the ns you are looking for is ns-1@floating ... you aren't looking for ns-1 in your local registry... that's a different ns... |
Signed-off-by: denis-tingajkin <denis.tingajkin@xored.com>
@edwarnicke Many thanks for the internal clarification. I've provided a patch that makes the next behavior for floating registry queries from the client side of local registry. |
Signed-off-by: Denis Tingaikin denis.tingajkin@xored.com
Description
Problem scenario:
"ns-1@floating" : {"app": "myapp"}
."ns-1@floating" : {"app": "myapp"}
Actual: Returned nse-1 with labels: "ns-1@floating" : {"app": "myapp"}
Expected: Returned nse-1@floating with labels: "ns-1@floaitng" : {"app": "myapp"}
How Has This Been Tested?
Types of changes