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

2.7.13 ZoneAwareClusterInvoker doesn't work with zone configuration #8451

Closed
2 tasks done
MilkSDF opened this issue Aug 9, 2021 · 1 comment
Closed
2 tasks done
Labels
help wanted Everything needs help from contributors

Comments

@MilkSDF
Copy link

MilkSDF commented Aug 9, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: xxx
  • Operating System version: xxx
  • Java version: xxx

Steps to reproduce this issue

The property PREFER_REGISTRY_WITH_ZONE_KEY in ZoneAwareClusterInvoker should be just ZONE_KEY, this issue is fixed in dubbo 2.7.9. but in the version 2.7.10+,the bug is also exists。

#6022

image

Expected Result

Actual Result

The registry url is like this

nacos://127.0.0.1:8848/org.apache.dubbo.registry.RegistryService?application=dubbo-3&dubbo=2.0.2&pid=193320&qos.enable=false&release=2.7.7-SNAPSHOT&timestamp=1586922659951&zone=rega

In the url, the key of zone is zone but getParameter(REGISTRY_KEY + "." + ZONE_KEY) use registry.zone.

@CrazyHZM
Copy link
Member

Resolved in #8521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Everything needs help from contributors
Projects
None yet
Development

No branches or pull requests

3 participants