[Discussion] 如何对URL去重
Open
type/discussion
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description

我觉得应该在两个角度去考虑
1. 在Dubbo2中我们应该根据`接口+服务分组+版本号`来去重
2. 但是在Dubbo3中我们支持了多实例,`接口+服务分组+版本号`不再是唯一条件,在Dubbo3中Framework、Application也应该是去重条件
但是现在URL#equals方法中,只有URLAddress(既`ip+port`)和URLParam
Contributor guide
Research direction
Start by reading the URL#equals implementation and its handling of URLAddress and URLParam, as named in the discussion. Determine the intended deduplication rules for Dubbo 2 and Dubbo 3, then identify or add focused tests that make the chosen behavior and completion criteria explicit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100