apache / apache/dubbo-admin

dubb-admin创建or修改 条件路由规则无效(2.7.7高版本dubbo)

Open
#1,251 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.1k
Forks
2.2k
Avg merge
10d 12h
Merged PRs (30d)
4

Description

dubbo-admin版本:0.6.0-release

dubbo版本2.7.7(有问题!!)
dubbo版本2.6.12(路由没问题)

![企业微信截图_17000488462365](https://github.com/apache/dubbo-admin/assets/36264224/b8315d04-f0de-4531-a45a-500d492e5cb5)

![企业微信截图_17000330892062](https://github.com/apache/dubbo-admin/assets/36264224/3c48e508-8d68-42cf-b49e-931d66a9a28c)

原因:可能org.apache.dubbo.admin.service.impl.RouteServiceImpl#getPath中获取的path和zk中实际路由的path不对导致条件路由无效
或者dubbo中org.apache.dubbo.registry.integration.RegistryDirectory#notify和dubboadmin中的路由注册到zk没对齐等

Contributor guide

Open the contributing guide

Research direction

Start by inspecting org.apache.dubbo.admin.service.impl.RouteServiceImpl#getPath and compare the route path written to ZooKeeper with the path expected by org.apache.dubbo.registry.integration.RegistryDirectory#notify. Reproduce the conditional-route behavior with Dubbo 2.7.7 and compare it with 2.6.12; done means creating or modifying a conditional route works correctly on 2.7.7.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.