apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.55k stars 26.44k forks source link

configcenter bug for zookeeper #4557

Closed cifaz closed 5 years ago

cifaz commented 5 years ago

Environment

Steps to reproduce this issue

  1. create app router in dubbo admin
  2. request my url
  3. no response the app router

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

No response or listner for the app condition router

Actual Result

We add the app condition router, it should be invoke in routerChain.route, The reason is ZookeeperDynamicConfiguration


rootPath = "/" + url.getParameter(CONFIG_NAMESPACE_KEY, DEFAULT_GROUP) + "/config";

Tips: 
CONFIG_NAMESPACE_KEY = org.apache.dubbo.configcenter.Constants.CONFIG_NAMESPACE_KEY = config.namespace (dubbo-configcenter-api)

But the zookeeper config is dubbo.config-center.namespace = dubbo, If I change to my own config, em, dubbo.config-center.namespace = dev, It cannot work

iwhalecloud-platform commented 5 years ago

2.7.3已修复

chickenlj commented 5 years ago

Fxied in 2.7.3, and will be released in few days.