You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: "alibaba/Sentinel" ***@***.***>;
发送时间: 2022年3月18日(星期五) 下午4:42
***@***.***>;
***@***.******@***.***>;
主题: Re: [alibaba/Sentinel] 我的提供者路径就是test1,为什么在sentinel中出现嵌套结构了呢?2个流控按钮,点击哪一个呢 (Issue #2592)
@startjava 是树形结构,但根节点信息应该是不正确的。下图是我本地临时修改后的效果截图
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
Activity
icodening commentedon Mar 18, 2022
我检查了Servlet、SpringMVC、WebFlux三个适配模块的代码,发现是WebFlux适配的代码的问题,并在测试后可以复现你描述的问题。该问题属于WebFlux适配的Bug
startjava commentedon Mar 18, 2022
@icodening 是不是簇点链路就是这样的格式??因为是链路,所以显示的是树形结构的?
icodening commentedon Mar 18, 2022
@startjava 是树形结构,但根节点信息应该是不正确的。下图是我本地临时修改后的效果截图

startjava commentedon Mar 18, 2022
icodening commentedon Mar 18, 2022
WebFlux下涉及到不少的线程上下文切换,而原Context用的是ThreadLocal进行维护很可能会出现丢失,上面的简单修改能覆盖到的场景不够全,暂时还提不了PR呢
sczyh30 commentedon Mar 21, 2022
调用链路最顶部的为该次调用的入口 context 名称,用于链路限流中区分不同调用入口链路,若使用统一的 context 则不支持链路流控。后续可参考 Spring Web adapter 中提供配置支持是否需要统一 context.