-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sentinel.TraceError和sentinel.Exit没有被调用 #2620
Comments
Can you provide more detailed descriptions like the concrete code location or code screenshot? |
可以看到这两个方法的ctx是平行关系。 dubbo-go/protocol/protocolwrapper/protocol_filter_wrapper.go Lines 126 to 129 in 2f5143a
143行生成了新的子ctx。 dubbo-go/filter/sentinel/filter.go Lines 120 to 145 in 2f5143a
dubbo-go/filter/sentinel/filter.go Lines 147 to 150 in 2f5143a
dubbo-go/filter/sentinel/filter.go Lines 91 to 102 in 2f5143a
|
Environment
Issue description
context.WithValue 只能往子ctx存value,这导致OnResponse无法通过ctx.Value获取entry,导致entry没退出,sentinel.TraceError也不会被调用。
The text was updated successfully, but these errors were encountered: