apache / apache/dubbo

关于dubbo嵌套调用,消费者过滤器消除RpcContext导致的最早调用的消费者丢失RpcContext。链路追踪采集不到问题

Open
#9,460 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

![image](https://user-images.githubusercontent.com/35289893/146935555-369492ff-39dd-4577-9a8a-4516ebba7ac9.png)
解释:order是最外层dubbo的调用,distribute是里层的dubbo调用。client代表消费者,server代表提供者。before可以理解成拦截方法前,after理解成拦截方法后。
问题:在里层的dubbo调用后将前一个未执行完毕的dubbo消费的RpcContext消除覆盖,导致上未执行完的dubbo消费传递上下文给提供方的时候丢失RpcContext。

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.