apache / apache/dubbo

Dubbo2的RegistryDirectory支持Invoker按方法分组,dubbo3中为什么去掉了?

Open
#9,966 1 comment 0 reactions 0 assignees View on GitHub
type/discussion
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

## Ask your question here
dubbo2.5.x的RegistryDirectory在更新invoker列表时会按method进行分组,在调用时,先取方法对就应的invoker列表,如果没有则取所有的invoker列表。
这对于同时存在原版本的service和新增方法的service时,可以直接找到相应的service去调用。
而在dubbo3中却是先去进行rpc调用,调用失败再重试,而且存在着3次都调用失败的可能(原版本的service提供者>= (reties + 1)时)。
dubbo2.5.x的处理显得更好友,为什么在dubbo3中不沿用dubbo2的逻辑呢?

Contributor guide

Open the contributing guide

Research direction

Compare the Dubbo 2.5.x RegistryDirectory invoker-list update and method-selection logic with the corresponding Dubbo 3 registry and RPC retry paths. Start by locating those entry points and the related tests, then determine whether the changed behavior is intentional; done requires a documented rationale or an agreed, testable change in behavior.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.