关于dubbo嵌套调用,消费者过滤器消除RpcContext导致的最早调用的消费者丢失RpcContext。链路追踪采集不到问题
Open
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description

解释:order是最外层dubbo的调用,distribute是里层的dubbo调用。client代表消费者,server代表提供者。before可以理解成拦截方法前,after理解成拦截方法后。
问题:在里层的dubbo调用后将前一个未执行完毕的dubbo消费的RpcContext消除覆盖,导致上未执行完的dubbo消费传递上下文给提供方的时候丢失RpcContext。
Contributor guide
Research direction
Start by tracing the consumer filter and RpcContext lifecycle through the nested order and distribute Dubbo calls shown in the issue. Reproduce the sequence and verify that the outer unfinished consumer context remains available to the provider and is included in link-tracing collection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems, observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100