You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "stonelion (via GitHub)" <gi...@apache.org> on 2023/04/23 01:49:36 UTC

[GitHub] [dubbo] stonelion commented on a diff in pull request #12098: fix: group registry error (#12097)

stonelion commented on code in PR #12098:
URL: https://github.com/apache/dubbo/pull/12098#discussion_r1174491474


##########
dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/util/CuratorFrameworkUtils.java:
##########
@@ -155,7 +155,7 @@ public static String getRootPath(URL registryURL) {
         if (group.equalsIgnoreCase(DEFAULT_GROUP)) {
             group = GROUP_PATH.getParameterValue(registryURL);
             if (!group.startsWith(PATH_SEPARATOR)) {
-                group = PATH_SEPARATOR + group;
+                group = PATH_SEPARATOR + group + DEFAULT_GROUP;

Review Comment:
   避免服务注册监听路径和接口注册路径一样,导致服务注册启动不了。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org